SA-MP Forums Archive
Y_Classes Get Spawned Classid? - 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: Y_Classes Get Spawned Classid? (/showthread.php?tid=336004)



Y_Classes Get Spawned Classid? - Admigo - 20.04.2012

Heey all,

I am using Y_Classes for my server.
But how can i detect the classid when the player spawns?

Thanks Admigo


Re: Y_Classes Get Spawned Classid? - Admigo - 21.04.2012

EDIT:Got it,Only one problem: How can i disable more then one classes with this code:
Код:
Class_Enable(0,false);
Its not handy if i do this because i have 250 classes:
Код:
Class_Enable(0,false);Class_Enable(1,false);Class_Enable(2,false);
Is there a simple code for it to disable more classes?