Anti-team kill needs to go when tp - 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: Anti-team kill needs to go when tp (
/showthread.php?tid=185579)
Anti-team kill needs to go when tp -
Andy_McKinley - 25.10.2010
Hey there. My server have anti-team kill > no damage when your teams attacks you. But now i made a DM where i want teams to attack eachother, but they can't damage eachother because they are in same teams. How can I disable this, only that TP? i really don't get it.
Re: Anti-team kill needs to go when tp -
Lenny the Cup - 25.10.2010
How about removing the anti-team kill part of the script?
Re: Anti-team kill needs to go when tp -
rbN. - 25.10.2010
Lol, I think you can't with SetPlayerTeam. It's only possible with a new variable (I geuss)
Re: Anti-team kill needs to go when tp -
Slice - 25.10.2010
When a player gets teleported to the dm:
pawn Код:
SetPlayerTeam( platyerid, NO_TEAM );
When a player dies/spawns: Set his team back to the original one.
Re: Anti-team kill needs to go when tp -
Andy_McKinley - 25.10.2010
Quote:
Originally Posted by Lenny the Cup
How about removing the anti-team kill part of the script?
|
I forgot how it look like... how does it look like again
Re: Anti-team kill needs to go when tp -
Andy_McKinley - 25.10.2010
Quote:
Originally Posted by g_aSlice
When a player gets teleported to the dm:
pawn Код:
SetPlayerTeam( platyerid, NO_TEAM );
When a player dies/spawns: Set his team back to the original one.
|
Do I need to define this? because i just added it under my menu, no errors sooo...
Re: Anti-team kill needs to go when tp -
Andy_McKinley - 25.10.2010
I want to know how to disable anti teamkill...