script help
#2

Simple.
PHP код:
public OnPlayerGiveDamage(playeriddamagedidFloatamountweaponidbodypart) {
    if(
GetPlayerTeam(playerid) == GetPlayerTeam(damagedid)) {
        
SendClientMessage(playerid,COLOR_RED,"Hold your fire");
    }
    return 
true;

If you are not using SetPlayerTeam change it into your variable. Not sure if its going to work with GetPlayerTeam as there is no team fire but yeah there u go an example
Reply


Messages In This Thread
script help - by GeneralAref - 18.12.2015, 08:00
Re: script help - by TwinkiDaBoss - 18.12.2015, 08:03
Re: script help - by GeneralAref - 18.12.2015, 08:12
Re: script help - by TwinkiDaBoss - 18.12.2015, 08:15
Re: script help - by GeneralAref - 18.12.2015, 08:20

Forum Jump:


Users browsing this thread: 1 Guest(s)