SA-MP Forums Archive
Problem with faction system - 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: Problem with faction system (/showthread.php?tid=176763)



Problem with faction system - jorambo - 14.09.2010

Heey you guys

I have got a question.
I have made a faction system myself.
It is not like gTeam but just simple with setplayerteamcolor and stuff.
Now everything is working fine.
But the problem is when I log in at ID:0 I get the good color, but when I log in as second (so ID:1) I get the normal standard colours (like purple and stuff)
I have made a timer wich set every second the player to the public: SetPlayerTeamColor.
So only ID:0 can see the good SetPlayerTeamColor.
Is this furmiliar? does anyone know how to solve this?
I didn't know if you needed some scripthings, if so, just ask

Thank you all ready