You can still kill team mates :S
#1

Hey,
I used the SetPlayerTeam-function , but it still seems to be that you can kill your team mates.
What could be the reason of this ?
Reply
#2

becoz same team members can kill each other, sa-mp has no limitation on that.

If you want to prevent it, you will have to script it yourself!
Reply
#3

Quote:
Originally Posted by Dr4x
becoz same team members can kill each other, sa-mp has no limitation on that.

If you want to prevent it, you will have to script it yourself!
SetPlayerTeam is suppose to prevent team killing (well, it did in 0.2x). It's always been a bit buggy (same with GetPlayerTeam). I suggest you just warn the player that is team killing / if he does it a certain amount of times, kick him.
Reply
#4

works 90% of the time for me.
Reply
#5

AddPlayerClassEx(teamid,whatever...);

That will stop your teamkilling problems. Though, that's if you want the team pre-set on spawn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)