Colour problem
#3

edit - you reedited your code as i was posting. The last part still stands.


You have no if statements in here.

So whenever a player connects you do all of these.
You set player team 1, colour 0x95DFECFF then reset team 2 and colour to 0x33AA33AA.

SetPlayerTeam(playerid, 1);
SetPlayerColor(playerid, 0x95DFECFF);
SetPlayerTeam(playerid, 2);
SetPlayerColor(playerid, 0x33AA33AA);

If you didn't notice the lack of if statements then here is your solution:

Are you a scripting beginner?
https://sampwiki.blast.hk/wiki/Main_Page
Reply


Messages In This Thread
Colour problem - by E-Rage - 31.01.2010, 08:14
Re: Colour problem - by Jeffry - 31.01.2010, 08:40
Re: Colour problem - by mansonh - 31.01.2010, 08:41
Re: Colour problem - by E-Rage - 31.01.2010, 08:51
Re: Colour problem - by Jeffry - 31.01.2010, 09:12

Forum Jump:


Users browsing this thread: 1 Guest(s)