Skin selection to return 0 to next class? - 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: Skin selection to return 0 to next class? (
/showthread.php?tid=334616)
Skin selection to return 0 to next class? -
Admigo - 15.04.2012
Heey all,
I want to skip classid 0 but everytime if i return it at onplayerrequestclass it shows CJ.
How can i skip the 0 returned class to the next class that returned with 1?
Код:
if(classid==0)
{
return 0;
}
Why i need this? Because i want to save class if someone choose one.
So if he logged in the player only see his skin in class selection.
I hope you can help me.
Thanks Admigo