SA-MP Forums Archive
Help - 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: Help (/showthread.php?tid=625942)



Removing a class for player - mongi - 08.01.2017

i'm scripting a minigames script. I got lot of skins for each game, is there a way to remove a skin from class selection?

It's the opposite of:
AddPlayerClass()

?


Re: Help - BiosMarcel - 08.01.2017

https://sampwiki.blast.hk/wiki/AddPlayerClass

Just " remove " the Classes that u don't want by not inserting them.


Re: Help - mongi - 08.01.2017

You didn't get it, i need whole the classes but i won't the player be able to see the parkour skin in Team Death Match Event as an example


Re: Help - Lordzy - 08.01.2017

You need to create a custom class selection on that case. Please choose a descriptive title next time.


Re: Help - mongi - 08.01.2017

And how to do this? and sorry will be edited


Re: Help - daniel2516 - 08.01.2017

Search it on samp wiki mongi. +rep me if i helped you


Re: Help - mongi - 08.01.2017

Quote:
Originally Posted by daniel2516
Посмотреть сообщение
Search it on samp wiki mongi. +rep me if i helped you
i've already tried to find it in samp wiki but nothing...


Re: Help - Lordzy - 08.01.2017

First you spawn the player under OnPlayerRequestClass. Then you can use textdraws
, set the camera positions, world and whatever that's needed to make it look like a class selection. It'll be quite a lot to do per-player class selection from start to make it work perfectly. I couldn't find any tutorials here to aid you with other than the one that uses y_classes - https://sampforum.blast.hk/showthread.php?tid=571059


Re: Help - daniel2516 - 08.01.2017

Deleted