An Infecting problem
#3

Quote:
Originally Posted by ZzZzZ
if u got more time,can someone make me code if u die u will be zombie,thanks
Thats easy.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(NonZombieTeam)
    {
        SetZombieTeamHere
    }
    return 1;
}
Example:

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(gTeam[playerid] == TEAM_CIVILIANS)
    {
        gTeam[playerid] = TEAM_ZOMBIES;
    }
    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: 2 Guest(s)