[HELP] war problem gangs
#2

Well... We cannot guess your code.
If you could give to us your enums about War System..
Well, you could do something like this.

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(PlayerInfo[killerid][Leader] == PlayerInfo[playerid][Member])
    {
        SendClientMessage(playerid, -1, "You killed your own member in war. You lost 1 point.");
        // Other functions here.
    }
    return 1;
}
Repeat. Replace that PlayerInfo functions with your real enums. I can't guess your code, but I gave to you an example.

Cheers.
Reply


Messages In This Thread
[HELP] war problem gangs - by Luca12 - 10.01.2015, 18:20
Re: [HELP] war problem gangs - by HY - 10.01.2015, 18:25
Re: [HELP] war problem gangs - by Luca12 - 10.01.2015, 18:39

Forum Jump:


Users browsing this thread: 1 Guest(s)