[HELP]problem
#1

how i do that someone from team 1 can't kill someone from group 2??

thank for all halpers :P
Reply
#2

That's not possible.
But what you can do is to punish team-killers.
Reply
#3

Quote:
Originally Posted by lrZ^ aka LarzI
That's not possible.
But what you can do is to punish team-killers.
It is possible, I have seen it in many servers before...
I have no idea how to do it though :P
Reply
#4

You can't check 100% sure if the player shots at a teammate, only if the player kills a teammate.
Reply
#5

Quote:
Originally Posted by lrZ^ aka LarzI
You can't check 100% sure if the player shots at a teammate, only if the player kills a teammate.
You can check teams and make team members not effect them...
I have seen it on servers before so it is possible...
Reply
#6

You can't detect which player you are shooting at, or even if you're shooting at a player or not, so no!
You are completely wrong, this is not possible at all.
Reply
#7

Quote:
Originally Posted by lrZ^ aka LarzI
You can't detect which player you are shooting at, or even if you're shooting at a player or not, so no!
You are completely wrong, this is not possible at all.
You can detect if a player is on the same team...
If you can go on sa-mp right now I can show you multipliable TDM servers that have a system like that...
Reply
#8

Ofcourse you can check if the teams are alike!
Omfg, I'm just saying you can't check if the player is shooting at another!

There is no callback called something like "OnPlayerHitPlayer(playerid, hitid)"
Reply
#9

There is a way to make teammates not to be able to harm eachother using SetPlayerTeam(playerid, teamid).
Reply
#10

Quote:
Originally Posted by lrZ^ aka LarzI
Ofcourse you can check if the teams are alike!
Omfg, I'm just saying you can't check if the player is shooting at another!

There is no callback called something like "OnPlayerHitPlayer(playerid, hitid)"
Well of course there isn't :P
I was saying that is was possible to do the anti team kill thing he said...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)