19.03.2014, 20:24
pawn Код:
if(strcmp(params,"death",true) == 0) {
if(GetPVarInt(playerid, "Injured") == 1) {
SendClientMessage(playerid, COLOR_WHITE, "You gave up hope and fell unconscious, you were immediately sent to the hospital.");
KillEMSQueue(playerid);
ResetPlayerWeaponsEx(playerid);
SpawnPlayer(playerid);
}
else { SendClientMessage(playerid, COLOR_GREY, " You're not injured, you can't do this right now!"); }
}