[Question] Gametext by try to kill your gangmember homie
#1

Hey I used SetPlayerTeam mn corridor wars server,
so that people who sit together in the same team can not kill.
But now, I want someone to another of the same team that tried to shoot the player gets to a
Game Text namely: You can not kill your gang member.

That's important because people may think that the other person is hacking ..

Any ideas how to do this and whether it is possible?

Thanks
Reply
#2

pawn Код:
public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid)
{
    if(GetPlayerTeam(issuerid) == GetPlayerTeam(playerid))
    {
        GameTextForPlayer(issuerid,"No team killing you NAB!",3500,3);
    }
    return 1;
}
Reply
#3

Thank you very much
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)