SA-MP Forums Archive
Whats wrong with this code? team selection - 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: Whats wrong with this code? team selection (/showthread.php?tid=565587)



Whats wrong with this code? team selection - Nabster - 28.02.2015

FIXED


Re: Whats wrong with this code? team selection - amirab - 28.02.2015

does it set Color ? or does it show that TextDraws ?!
NOTE : why are you putting extra { } ??


Re: Whats wrong with this code? team selection - Nabster - 28.02.2015

well about that curly braces i was going to make if else statement but i forgot lol and yeah it sets color but not skin

i noticed that in my gamemodeint

AddPlayerClass(261,2468.3757,-1665.9161,13.3018,264.8603,0,0,0,0,0,0);

this sets skin but not the SetPlayerSkin inside onplayerclicktextdraw so this means that setplayerskin is not working


Re: Whats wrong with this code? team selection - ATGOggy - 28.02.2015

Did you make the player spawn?


Re: Whats wrong with this code? team selection - Nabster - 28.02.2015

Quote:
Originally Posted by ATGOggy
Посмотреть сообщение
Did you make the player spawn?
Oh yeah,thank you

Fixed now