public OnPlayerDeath(playerid,killerid,reason){ if(killerid == zombie or w/e you use) { SetPVarInt("CanChangeTeam",1); } return 1;}