04.07.2012, 16:20
I made a checkpoint for refilling weapons :
made a command and , etc.
Now i wanted to make when a player stands in it, it auto shows him the dialog, without typing the command ... I added it to OnPlayerUpdate with if(IsPlayerInRangeOfPoint(playerid, ...... )), but when i close it i opens it again, and again... How can i make it show only once without destroying the checkpoint?
Thanks.
pawn Код:
SetPlayerMapIcon(playerid, 10, 2522.8169,-1679.3861,15.4970, 6, 0, MAPICON_LOCAL_CHECKPOINT);
Now i wanted to make when a player stands in it, it auto shows him the dialog, without typing the command ... I added it to OnPlayerUpdate with if(IsPlayerInRangeOfPoint(playerid, ...... )), but when i close it i opens it again, and again... How can i make it show only once without destroying the checkpoint?
Thanks.