An Infecting problem
#5

No Problem.
You might want to make it so it checks if the killer was a zombie:

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