13.02.2010, 13:08
I made a little base for it, hope it helped 
Help with classid:
Your first
On GameModeInit() is classid 0
Your second
On GameModeInit() is classid 1
Your third
On GameModeInit() is classid 2
And so on. Hope this helped

pawn Код:
//Above main()
new Hacker[MAX_PLAYERS];
new Class[MAX_PLAYERS];
//OnPlayerRequestClass(playerid, classid)
Class[playerid] = classid; //Assigns Class to the classid
//OnPlayerSpawn(playerid)
switch(Class[playerid])
{
case Id:// If the spawned player has the hacker class id, make them a Hacker.
{
Hacker[playerid] = 1;
}
}
Your first
pawn Код:
AddPlayerClass()
Your second
pawn Код:
AddPlayerClass()
Your third
pawn Код:
AddPlayerClass()
And so on. Hope this helped
