16.03.2014, 16:56
I'm unsure what you meant by your first wish but I can help with second one.
First, you have to create a variable and change it when the player is dead. For example;
And check if that variable equals 1 when the command is performed. If it is, simply deny the player by sending a client message that says "You are dead" or something like that.
First, you have to create a variable and change it when the player is dead. For example;
pawn Код:
new playerStatus[MAX_PLAYERS];
public OnPlayerDeath(playerid, killerid, reason)
{
playerStatus[playerid] = 1;
}