07.03.2015, 03:03
What is reputation for? :-/
You can put this in OnPlayerDeath, so if the player in duel dead, he/she can join the duel again.
You can put this in OnPlayerDeath, so if the player in duel dead, he/she can join the duel again.
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(Dueler[0] == playerid) Dueler[0] = INVALID_PLAYER_ID; else if(Dueler[1] == playerid) Dueler[1] = INVALID_PLAYER_ID; return 1; }