An Infecting problem
#8

i did,but it saves guns..
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;
}
Reply


Messages In This Thread
An Infecting problem - by WardenCS - 07.12.2009, 15:30
Re: An Infecting problem - by WardenCS - 07.12.2009, 17:23
Re: An Infecting problem - by miokie - 07.12.2009, 17:33
Re: An Infecting problem - by WardenCS - 07.12.2009, 17:39
Re: An Infecting problem - by miokie - 07.12.2009, 17:41
Re: An Infecting problem - by WardenCS - 07.12.2009, 17:59
Re: An Infecting problem - by miokie - 07.12.2009, 18:02
Re: An Infecting problem - by WardenCS - 07.12.2009, 18:04
Re: An Infecting problem - by miokie - 07.12.2009, 18:22
Re: An Infecting problem - by WardenCS - 07.12.2009, 18:31

Forum Jump:


Users browsing this thread: 1 Guest(s)