07.11.2013, 23:47
somebody please tell me how to fix this, it keeps sending the message and not stop if i'm in range of the point.
i want to make it sends the message 1 time, not 1000 times -.-
and do i put it in the correct callback ?
i want to make it sends the message 1 time, not 1000 times -.-
and do i put it in the correct callback ?
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInRangeOfPoint(playerid,4.0,1023.9600,2111.4851,10.8203))
{
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
SendClientMessage(playerid,COLOR_WHITE,"Type /mission to start");
}
}
return 1;
}