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



AddPlayerClass destroy - GaGlets(R) - 07.12.2010

Is it possible to destroy player class?
I want to make 3 class groups like
First
Second
Last
pawn Код:
if(balblabA)
First
else if(balblaba)
Second
else if(blablaba)
Third
ofcourse everything without reconnect -restart..

And even its possible to add `AddPlayerClass` anywhere else except OnGameMode... .. .?

Without YSI...


Re: AddPlayerClass destroy - GaGlets(R) - 07.12.2010

I jus tthough its possible to block them from chosing or delete.. ;S

with block them from chosing i mean they even cant see it. like your YSI..
With ysi there is needed to make fukin groups, etc stuff and i dont want that in script..


Re: AddPlayerClass destroy - GaGlets(R) - 07.12.2010

Could you please add an example to add classes, just cant get it from YSI EG class script.
so the simpliest way.
pawn Код:
if(blabla)
class list 1
else if(blablabla)
classlist2
else if(....)
classlist3
In fact i want to finish my registration system for RP. firstclasslist - chose skin for that and that, second - for that and that etc. After registration clases would be deleted...


Re: AddPlayerClass destroy - GaGlets(R) - 07.12.2010

Thank you.. You should create y_td thread about its information...

Edit:
Can i use Class_Add somewhere else not in OnGamemode?


Re: AddPlayerClass destroy - GaGlets(R) - 07.12.2010

I`m worried about one thing..
if player disconnects while class selection is running, classes will delete automaticly?