DM lil help
#2

Using the OnPlayerShootPlayer include: https://sampforum.blast.hk/showthread.php?tid=195439

Make the code like this :

pawn Код:
public OnPlayerShootPlayer(shooter,target,Float:damage)
{
     if(gTeam[shooter] == gTeam[target])
     {
        SendClientMessage(shooter,0xFFFFFFAA,"Don't shoot your friend ! xD");
        SetPlayerHealth(shooter, 0.0);
     }
     return 1;
}
I hope that i have helped
Reply


Messages In This Thread
DM lil help - by tanush - 09.03.2011, 22:00
Re: DM lil help - by rjjj - 09.03.2011, 22:22
Re: DM lil help - by tanush - 09.03.2011, 22:27
Re: DM lil help - by Ricop522 - 09.03.2011, 22:43
Re: DM lil help - by tanush - 09.03.2011, 23:18
AW: Re: DM lil help - by Nero_3D - 09.03.2011, 23:36
Re: DM lil help - by admantis - 09.03.2011, 23:41
Re: DM lil help - by tanush - 09.03.2011, 23:58
Re: DM lil help - by Snipa - 10.03.2011, 00:32
Re: DM lil help - by tanush - 10.03.2011, 00:45

Forum Jump:


Users browsing this thread: 2 Guest(s)