if(player usebuttonpressed() && player.menu.open == false)
{
player playsound("wpn_rocket_explode");
level.Ballista71 moveto((-1512.91, 1150.59, -20.506),1);
player giveWeapon("peacekeeper_mp",0,true(29,0,0,0,0));
player switchtoweapon("peacekeeper_mp");
player givemaxammo("peacekeeper_mp");
wait 2;
level.Ballista7 moveto((-1512.91, 1150.59, -37.506), 3);
if(player actionslotonebuttonpressed() )
{
level.Ballista71 moveto((-1512.91, 1150.59, -37.506), 3);
}
i want 2 action the first if(player usebuttonpressed() and the second if(player actionslotonebuttonpressed() ) but i dont work
please help me
{
player playsound("wpn_rocket_explode");
level.Ballista71 moveto((-1512.91, 1150.59, -20.506),1);
player giveWeapon("peacekeeper_mp",0,true(29,0,0,0,0));
player switchtoweapon("peacekeeper_mp");
player givemaxammo("peacekeeper_mp");
wait 2;
level.Ballista7 moveto((-1512.91, 1150.59, -37.506), 3);
if(player actionslotonebuttonpressed() )
{
level.Ballista71 moveto((-1512.91, 1150.59, -37.506), 3);
}
i want 2 action the first if(player usebuttonpressed() and the second if(player actionslotonebuttonpressed() ) but i dont work
please help me