19.07.2013, 04:02
pawn Код:
//under onplayerupdate
//AdminGates move
if(IsPlayerInRangeOfPoint(playerid, 3.0, -84.8094,-1636.9061,3.8391) || IsPlayerInRangeOfPoint(playerid, 3.0, -78.7850,-1662.4958,3.6756))
{
AdminGatesMove =5;
}
//under PlayerOneSecondVariables() //Timer is okayy and working fine
if(AdminGatesMove > 1)
{
MoveObject(AdminGate1, -79.4000015,-1647.1999512,0.5999999, 5.0, 0.0000000,0.0000000,196.0000000);
MoveObject(AdminGate2, -87.0000000,-1649.4000244,0.5999999,4,0.0000000,0.0000000,196.0000000);
AdminGatesMove--;
}
if(AdminGatesMove == 1)
{
MoveObject(AdminGate1, -79.4000015,-1647.1999512,6.5999999,4,0.0000000,0.0000000,196.0000000);
MoveObject(AdminGate2, -87.0000000,-1649.4000244,6.5999999,4,0.0000000,0.0000000,196.0000000);
AdminGatesMove =-1;
}
THAT'S IT, can someone tell me why isn't it moving?