SA-MP Forums Archive
Hello I Need Some Help About a Class System Please :) - 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: Hello I Need Some Help About a Class System Please :) (/showthread.php?tid=425139)



Hello I Need Some Help About a Class System Please :) - Clyde6991 - 24.03.2013

Hi im looking for someone who can help me build a Class System For a Gangwar/DM Server. If There anybody who can help Me Pls Let Me Know Thanks


Re : Hello I Need Some Help About a Class System Please :) - DaTa[X] - 24.03.2013

it's simple

pawn Код:
#define CLASSNAME1
#define CLASSNAME2
#define CLASSNAME3
new pClass[MAX_PLAYERS];

then you can use it like this pClass[playerid] == CLASSNAME1;