Problem with classes. - 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 classes. (
/showthread.php?tid=233973)
Problem with classes. -
iGetty - 02.03.2011
So my problem is that, when /i spawn as a pd officer or any other faction, i spawn as CJ, please could someone help me there?
Re: Problem with classes. -
Antonio [G-RP] - 02.03.2011
You could either be doing...
a) Not using SetPlayerSkin
b) Using SetSpawnInfo with skin of 0
c) Loading a skin with id 0 from a player's file.
Re: Problem with classes. -
iGetty - 02.03.2011
Quote:
Originally Posted by Antonio [G-RP]
You could either be doing...
a) Not using SetPlayerSkin
b) Using SetSpawnInfo with skin of 0
c) Loading a skin with id 0 from a player's file.
|
If i am doing any of these, what can I do?
Re: Problem with classes. -
Antonio [G-RP] - 02.03.2011
if..
a) use SetPlayerSkin() to set the players skin
b) set SetSpawnInfo to the skin they chose.
c) Change the skin when they update.
Re: Problem with classes. -
Mean - 02.03.2011
Set a player skin when he spawns. Use OnPlayerSpawn.
Re: Problem with classes. -
iGetty - 02.03.2011
Quote:
Originally Posted by getty154
If i am doing any of these, what can I do?
|
I have now done it, Thankyou !