20.02.2013, 17:47
So i'm trying to create that would move on the same command
Anyone sees the problem? coordinates are good,if they are in different commands they work.
pawn Код:
new bool:sasa;
CMD:blet(playerid,params[])
{
if(sasa==false)
{
MoveObject(JailGate,-314.29998779297,1507.4000244141,77.099998474121,5.0,0,0,179.99450683594);
sasa = true;
}
if(sasa==true)
{
MoveObject(JailGate,-302.89999389648,1507.5,77.099998474121,5.0,0,0,179.99450683594);
sasa = false;
}
return 1;
}