31.07.2013, 15:37
How to give to all cops 100$ when a player with wanted dead?
Please say
Please say
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; }