How would i make a infection - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How would i make a infection (
/showthread.php?tid=158963)
How would i make a infection -
Kitten - 11.07.2010
Solved
Re: How would i make a infection -
Kitten - 11.07.2010
bump.....
Re: How would i make a infection -
Nero_3D - 11.07.2010
What you exactly mean with an infection, explain what should happen if a player has an infection
Re: How would i make a infection -
Kitten - 11.07.2010
if another player has a knife and it knifes the other team and that other team changes skin and becomes on that team member i just need the knife part
Re: How would i make a infection -
Nero_3D - 11.07.2010
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));
}
}
Re: How would i make a infection -
Kitten - 11.07.2010
so this going to change teams when that player dies?
Re: How would i make a infection -
oliverrud - 11.07.2010
Yea it will.
Re: How would i make a infection -
Kitten - 11.07.2010
thanks so much it works