How would i make a infection
#5

as much I understood you want a script that transfer the killed player to the team of the killer if the weapon was a knife and the killed guy wasnt in the same team

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(reason == 4) // Knife
    {
        SetPlayerTeam(killerid, GetPlayerTeam(playerid));
    }
}
Reply


Messages In This Thread
How would i make a infection - by Kitten - 11.07.2010, 18:53
Re: How would i make a infection - by Kitten - 11.07.2010, 19:36
Re: How would i make a infection - by Nero_3D - 11.07.2010, 20:02
Re: How would i make a infection - by Kitten - 11.07.2010, 20:02
Re: How would i make a infection - by Nero_3D - 11.07.2010, 20:08
Re: How would i make a infection - by Kitten - 11.07.2010, 20:12
Re: How would i make a infection - by oliverrud - 11.07.2010, 20:18
Re: How would i make a infection - by Kitten - 11.07.2010, 20:19

Forum Jump:


Users browsing this thread: 1 Guest(s)