SA-MP Forums Archive
Choosing skin after the gamemodeinit - 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: Choosing skin after the gamemodeinit (/showthread.php?tid=81063)



Choosing skin after the gamemodeinit - efeX - 08.06.2009

Hey, I was wondering if i had a bunch of AddPlayerClass's in my OnGameModeInit()

How would I make the player when entered a command (already did that part) give the player ONLY 3 new skins to choose from and select from them?
Basically like OnGameModeInit but in a different function. How would i do this?


Re: Choosing skin after the gamemodeinit - Abernethy - 08.06.2009

I would say manually. Set the player camera & PlayerPos. TogglePlayerControlabble, & use the left & right arrow keys to toggle through the skins like SetPlayerSkin. That's just how I'd do it, somebody more experienced should reply soon.


Re: Choosing skin after the gamemodeinit - efeX - 08.06.2009

Quote:
Originally Posted by Abernethy
I would say manually. Set the player camera & PlayerPos. TogglePlayerControlabble, & use the left & right arrow keys to toggle through the skins like SetPlayerSkin. That's just how I'd do it, somebody more experienced should reply soon.
Now i get it, make the player type next or something and it would show the next skin id, thanks!