02.10.2015, 11:30
Quote:
Your OnPlayerText would probably look like this:
PHP код:
PHP код:
for second one, you need to make a global variable that sets the time, and check if current time - that variable is more than your recharge time when a player shoots anotherone with your tazer gun, more info about the way I suggested here: forum.sa-mp.com/showthread.php?t=254915&highlight=unix+timestamp as for your third question, simply take this out PHP код:
and make another cmd as /duty |
Код:
Player[playerid][CopDuty] = 1;
Код:
if(Player[playerid][CopDuty] == 0)