Unfair death
#3

Alright, first you would have to have a variable for when the administrator goes on admin duty. Then when a player dies put something similar to this under OnPlayerDeath:
pawn Код:
if(pInfo[killerid][pAduty] == 0)
{
    //Then your code
}
else
{
    SendClientMessage(playerid, -1, "You have been killed unfairly, you have not lossed any money nor score");
    return 1;
}
Reply


Messages In This Thread
Unfair death - by Ananisiki - 23.06.2013, 23:55
Re: Unfair death - by Scenario - 24.06.2013, 00:03
Re: Unfair death - by nmader - 24.06.2013, 00:05
Re: Unfair death - by kaisersouse - 24.06.2013, 00:06
Re: Unfair death - by [..MonTaNa..] - 24.06.2013, 00:15

Forum Jump:


Users browsing this thread: 1 Guest(s)