SA-MP Forums Archive
SetPlayerTeam(playerid - 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: SetPlayerTeam(playerid (/showthread.php?tid=263590)



SetPlayerTeam(playerid - 0_o - 22.06.2011

I Got a Problem With Setting Team. I Set All The Team Nice & Easily, But there is a problem -ingame- it is, if there are 3 players online, 2 of them cant kill each other, but both of them can kill the 3rd person, means 123, 1 & 2 cant kill each other, both can kill 3, Can you help me with this problem?


Re: SetPlayerTeam(playerid - 0_o - 22.06.2011

Help?


Re: SetPlayerTeam(playerid - Odyssey - 22.06.2011

It dosent make any sense to me, can you explain a bit more please? Or rephrase it.


Re: SetPlayerTeam(playerid - 0_o - 22.06.2011

Quote:
Originally Posted by techkid100
Посмотреть сообщение
It dosent make any sense to me, can you explain a bit more please? Or rephrase it.
onplayerspawn the players team is set to team 1, when 2 people are online, one cna killl other but other cant kill.


Re: SetPlayerTeam(playerid - Kitten - 22.06.2011

Show us you're SetPlayerTeam code


Re: SetPlayerTeam(playerid - 0_o - 22.06.2011

Quote:
Originally Posted by Kitten
Посмотреть сообщение
Show us you're SetPlayerTeam code
pawn Код:
SetPlayerTeam(playerid,3);
Do i need Samp 0.3cR2 Server? i have 0.3c now.


Re: SetPlayerTeam(playerid - Kitten - 22.06.2011

Doesn't matter what version you have , but i don't see anything wrong in the code you got any team defines?


Re: SetPlayerTeam(playerid - 0_o - 22.06.2011

Quote:
Originally Posted by Kitten
Посмотреть сообщение
Doesn't matter what version you have , but i don't see anything wrong in the code you got any team defines?
No I Don't.


Re: SetPlayerTeam(playerid - Laronic - 22.06.2011

if im not wrong... SetPlayerTeam || GetPlayerTeam || something who ends with "Team" are bugged.

That means it could be the bugs fault and not your coding fault