15.02.2010, 20:41
Hello everybody, I am making this post so that someone could help me. I have a command and i would like to add something that makes it only usable per player per ten seconds , im doing this because players abuse of the command and i would whant to add something that can make the command only usable once every ten seconds or so.
the command looks like this:
the command looks like this:
Код:
if(strcmp(cmd, "/sync", true) == 0) { if(IsPlayerInAnyVehicle(playerid)){ SendClientMessage(playerid, COLOR_YELLOW, "Canot use this while in veh"); return 1; } SpawnPlayer(playerid); return 1; }