Quote:
Originally Posted by CreativityLacker
pawn Код:
forward LOC_CHECK(); public LOC_CHECK() { for(new x =0; x < MAX_PLAYERS; x++) { if(IsPlayerInRangeOfPoint(x, 1.5, 1742.9924, -1863.2076, 13.5754)) { ShowPlayerDialog(playerid, 100, DIALOG_STYLE_MSGBOX, "TAXI JOB", "Are you sure you want to take this job", "Yes", "No"); } } return 1; }
public OnGameModeInIt( ) { SetTimer("LOC_CHECK", 5000, true); return 1; }
Though I strongly recommend you avoid this, since it's very inefficient. Try pickups or somethin'
|
Hm.. Is the streamer plugin more "efficient" for this?