SetPlayerTeam - 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)
+--- Thread: SetPlayerTeam (
/showthread.php?tid=623970)
SetPlayerTeam -
MerryDeer - 08.12.2016
Hi,
When i set both player to same team, for ex 5, they can't make hurt to each other, but callsback OnPlayerGiveDamage, OnPlayerTakeDamage will not by called or called?
Re: SetPlayerTeam -
SickAttack - 08.12.2016
Oh no, you again!
Me: Test it!
You be like:
Re: SetPlayerTeam -
saffierr - 09.12.2016
We can't help you without code.
Re: SetPlayerTeam -
Jayse - 09.12.2016
Quote:
Originally Posted by MerryDeer
Hi,
When i set both player to same team, for ex 5, they can't make hurt to each other, but callsback OnPlayerGiveDamage, OnPlayerTakeDamage will not by called or called?
|
I'll ignore the fact you could test it yourself. They won't get called, it's clearly named "OnPlayer
Take/GiveDamage.
Re: SetPlayerTeam -
GoldenLion - 09.12.2016
Quote:
Originally Posted by SickAttack
Oh no, you again!
Me: Test it!
You be like:

|
Right! When I see a thread made by him here I just ignore it. He never listens to anyone nor thanks them. His questions are stupid, he could just test that.
By the way, in case you don't have anyone to test on, here's the answer: yes they do get called.
That's the last time I reply to his threads.