TeamKill Help
#4

OnPlayerDeath you
And include for you:pastebin.com/AYxq3pTw
pawn Код:
#include <OPSP> // add to top
public OnPlayerShootPlayer(Shooter,Target,Float:HealthLost,Float:ArmourLost)
{
    if(gTeam[Shooter] == gTeam[Target])
    {
    new msg[128],name1[24],name2[24];
    GetPlayerName(Shooter,name1,24);
    GetPlayerName(Target,name2,24);
    format(msg,sizeof(msg)," *You %s cant shoot teammate%s!",name1,name2);
    SendClientMessageToAll(0xFFFFFFFF,msg);
    return 1;
}
Reply


Messages In This Thread
TeamKill Help - by M0HAMMAD - 13.06.2014, 08:59
Re: TeamKill Help - by DavidBilla - 13.06.2014, 10:00
Re: TeamKill Help - by M0HAMMAD - 14.06.2014, 08:50
Re: TeamKill Help - by MacT - 14.06.2014, 09:29
Re: TeamKill Help - by tandytanz - 14.06.2014, 10:02

Forum Jump:


Users browsing this thread: 1 Guest(s)