03.01.2009, 07:33
Yes I have them for my skins, Civillians coppers etc.
From an old save of mine. Of course you will have too create them but thats how you would show them. Classid relates to the order you addplayerclass starting from 0,1,2,3,4. I would suggest that you group classes one after the other .i.e police one after the other, using this method, makes for easy coding.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
if (classid >= 0 && classid <= 2 && udb_UserInt(PlayerName(playerid), "SkillChoosen") == 0)
{
TextDrawHideForPlayer(playerid, TextdrawCivillians); TextDrawHideForPlayer(playerid, TextdrawFirefighters); TextDrawShowForPlayer(playerid, TextdrawMedics);
TextDrawHideForPlayer(playerid, TextdrawTitle); TextDrawHideForPlayer(playerid, TextdrawRapist); TextDrawHideForPlayer(playerid, TextdrawRobber);
TextDrawHideForPlayer(playerid, TextdrawMugger); TextDrawHideForPlayer(playerid, TextdrawJacker); TextDrawHideForPlayer(playerid, TextdrawDrugDealer);
TextDrawHideForPlayer(playerid, TextdrawBurgler); TextDrawShowForPlayer(playerid, TextdrawInfector);
SendClientMessage(playerid, 0xB360FDFF,"Use: /skill 2 only."); SendClientMessage(playerid, 0xB360FDFF, "2. Infector");
}