30.11.2013, 17:50
pawn Код:
//Toll2
CMD:opentoll(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 15.0, 64.80750, -1536.94873, 4.98270))
{
SetTimerEx("CloseGate2", 7000, false, "i", playerid);
MoveObject(Toll1,64.80750, -1536.94873, 4.98270, 3.0, 0.00000, 0.00000, -90.08000);
return SendClientMessage(playerid, -1, "Thank you it cost you {FF0000}[50$]");
}
return 1;
}
So it would be
pawn Код:
//Toll2
CMD:opentoll2(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 15.0, 64.80750, -1536.94873, 4.98270))
{
SetTimerEx("CloseGate2", 7000, false, "i", playerid);
MoveObject(Toll1,64.80750, -1536.94873, 4.98270, 3.0, 0.00000, 0.00000, -90.08000);
return SendClientMessage(playerid, -1, "Thank you it cost you {FF0000}[50$]");
}
return 1;
}