08.07.2011, 16:42
Why using? if(X >= 1019.6192 && X <= 1047.1677 && Y >= -2321.0471 && Y <= -2347.2522)
Try using https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
Try using https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint
pawn Код:
if(IsPlayerInRangeOfPoint(playerid, 20.0, 1019.6192 , 1047.1677 , 0.0000))
{
SendClientMessage(playerid,COLOR_GREEN,"Lift is Going Up");
MoveObject(lift, 1024.61, -2345.58, 12.60,3);
}