SA-MP Forums Archive
help cmd - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help cmd (/showthread.php?tid=600802)



help cmd - Switch9400 - 13.02.2016

I wish after death the player must wait 60 seconds to be able to use the accepted death
please help me
cmd:accept
if(strcmp(params, "chet", true) == 0) {
if(GetPVarInt(playerid, "Injured") == 1) {
SendClientMessageEx(playerid, COLOR_WHITE, "Ban da tu bo hy vong song sot cua minh.");
KillEMSQueue(playerid);
ResetPlayerWeaponsEx(playerid);
SpawnPlayer(playerid);
}
else { SendClientMessageEx(playerid, COLOR_GREY, "Ban khong bi thuong, ban khong the lam dieu nay ngay bay gio!"); }
}


Re: help cmd - SupperRobin6394 - 13.02.2016

Read the ZCMD post, you will learn from that.