07.12.2009, 18:04
i did,but it saves guns..
or gives new ones:S
anyway this is that :
or gives new ones:S
anyway this is that :
Код:
public OnPlayerDeath(playerid, killerid, reason) { if(gTeam[playerid] == TEAM_HUMAN) { GameTextForPlayer(playerid,"~r~Infected",2000,5); SetPlayerSkin(playerid,137); gTeam[playerid] = TEAM_ZOMBIE; SetPlayerTeam(playerid,2); SetPlayerColor(playerid,TEAM_ZOMBIE_COLOR); ResetPlayerWeapons(playerid); SetPlayerArmour(playerid,0); SetPlayerHealth(playerid,200); GivePlayerWeapon(playerid,WEAPON1_ZOMBIE,9999); } return 1; }