13.02.2013, 13:09
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;
}