17.04.2012, 23:40
So i found this in another script and what does this mean?:
I know when I switch class, it will say what skill I am. But I added much more classes and it doesnt switch. PLease help?
pawn Код:
switch(classid)
{
case 0, 1, 2, 3, 4, 5:
{
GameTextForPlayer(playerid, "~b~Law Enforcement", 3000, 5);
}
case 6:
{
GameTextForPlayer(playerid, "~p~Los Santos Army", 3000, 5);
}
case 7:
{
GameTextForPlayer(playerid, "~b~FBI official", 3000, 5);
}
case 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29:
{
GameTextForPlayer(playerid, "~w~Civilian", 3000, 5);
}
}