02.02.2012, 04:08
Set their class via OnPlayerRequestClass:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 1:
{
//If their Class ID is 1, then they're in Grove.
classofgrove[playerid] = 1;
}
case 2:
{
//If their Class ID is 2, then they're in the Ballas.
classofballas[playerid] = 1;
}
//Continue this..
}
return 1;
}