Quote:
Originally Posted by Justas [SiJ
]
Quote:
Originally Posted by Izanagi
pawn Код:
//virsuj new cmdUsed[MAX_PLAYERS];
if(strcmp(...)==0) { if(cmdUsed[MAX_PLAYERS] == -1) return SendClientMessage(/*can't use now, wait 2 minutes*/); //ce darai komanda cmdUsed[MAX_PLAYERS] = -1; SetTimerEx("cmdUse", 120000, 0, "i", playerid); }
forward cmdUse(i) cmdUse(i) { cmdUsed[i] = 0; }
matau vis dar mokaisi ;]
this should help
|
Hehe.. I'm first
|
well but the code i've given could be used not onlyfor his script, since it's easier to modify mine, but anyway.. ;]