[SUGGESTION] SetPlayerKillableForPlayer
#5

Quote:
Originally Posted by cynic
Посмотреть сообщение
Nice, but you can make it(if you don't use teams in your GM):
pawn Код:
SetPlayerKillableForPlayer(victim, forplayerid, bool:killable)
{
    if(killable) SetPlayerTeam(victim, 1), SetPlayerTeam(forplayerid, 2);
    else SetPlayerTeam(victim, GetPlayerTeam(forplayerid));
    return false;
}
Your function will not work like I wanted. For example I present a situation:
We have three players: A, B and C. Now we want satisfy the following conditions:
- player A can kill player B
- player B can kill player A
- player C can't kill players A and B
- players A and B can't kill player C

Your function will not satisfy this conditions (I tried this way once).
Reply


Messages In This Thread
[SUGGESTION] SetPlayerKillableForPlayer - by Freddy19 - 13.12.2010, 14:32
Re: [SUGGESTION] SetPlayerKillableForPlayer - by playbox12 - 13.12.2010, 14:34
Re: [SUGGESTION] SetPlayerKillableForPlayer - by [MWR]Blood - 13.12.2010, 14:34
Re: [SUGGESTION] SetPlayerKillableForPlayer - by CyNiC - 13.12.2010, 14:45
Re: [SUGGESTION] SetPlayerKillableForPlayer - by Freddy19 - 13.12.2010, 15:01
Re: [SUGGESTION] SetPlayerKillableForPlayer - by Sergei - 13.12.2010, 17:04

Forum Jump:


Users browsing this thread: 1 Guest(s)