How to give to all cops 100$ when a player with wanted dead?:D
#2

Код:
public OnPlayerDeath(playerid,killerid,reason)
{
     if(GetPlayerWantedLevel(playerid) > 0)
     {
          for(new i=0;i< MAX_PLAYERS;i++)
          {
                if(team[i] == TEAM_COPS)
                {
                      GivePlayerMoney(i,100);
                }
           }
     }
     return 1;
}
Reply


Messages In This Thread
How to give to all cops 100$ when a player with wanted dead?:D - by Kapone21 - 31.07.2013, 15:37
Re: How to give to all cops 100$ when a player with wanted dead?:D - by dEcooR - 31.07.2013, 15:41
Re: How to give to all cops 100$ when a player with wanted dead?:D - by Deathh - 31.07.2013, 15:41
Re: How to give to all cops 100$ when a player with wanted dead?:D - by wumpyc - 31.07.2013, 15:42

Forum Jump:


Users browsing this thread: 2 Guest(s)