27.06.2012, 04:08
Look OnGameModeInit.
In OnPlayerRequestClass:
Simply.
pawn Код:
AddPlayerClass(..); // TEAM HUMAN // First Class created
AddPlayerClass(..); // TEAM HUMAN // Second Class created
AddPlayerClass(..); // TEAM ZOMBIE // Third Class created
AddPlayerClass(..); // TEAM ZOMBIE // Fourth Class created
In OnPlayerRequestClass:
pawn Код:
if(classid == 0) // First Class (Human)
if(classid == 1) // Second Calss (Human)
if(classid == 2) // Thirdh Class (Zombie)
if(classid == 3) // Last Class (Zombie)