SA-MP Forums Archive
remove cj skin - 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: remove cj skin (/showthread.php?tid=369907)



remove cj skin - KillamanITA - 18.08.2012

How can I permanently remove the cj skin from onplayerrequestclass?


Re: remove cj skin - Luis- - 18.08.2012

Delete the AddPlayerClass? Also wrong section.


Re: remove cj skin - playbox12 - 18.08.2012

Well, I take you have some login system and want to disable the class selection so players can't press spawn? If yes just TogglePlayerSpectating(playerid, true); at OnPlayerRequestClass.


Re: remove cj skin - KillamanITA - 18.08.2012

mine is a server freeroam, so I can not remove the onplayerclass


Re: remove cj skin - playbox12 - 18.08.2012

Well if you don't have an AddPlayerClass under OnGameModeInit with skin id 0 you won't have it in the class selection.