21.09.2010, 07:39
use SetPVarInt(playerid,"Inmission,1); at your random function.
Before the random part, add:
Replace YOUR_COLOR by your own color.
Before the random part, add:
Quote:
if(GetPVarInt(playerid,"Inmission") == 1) { SendClientMessage(playerid, YOUR_COLOR,"You're already delivering passengers!"); return 1; } |