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; }