28.03.2010, 11:26
i want a text wich appears by the class selection but only for a few skins
Код:
SetPlayerTeamFromClass(playerid, classid);
SetupPlayerForClassSelection(playerid);
gPlayerClass[playerid] = classid;
switch (classid) {
case 10:
{
GameTextForPlayer(playerid, "~y~w",5000,3);
}
case 11:
{
GameTextForPlayer(playerid, "~y~l",5000,3);
}
case 12:
{
GameTextForPlayer(playerid, "~y~n",5000,3);
}
case 13:
{
GameTextForPlayer(playerid, "~y~k",5000,3);
}
case 14:
{
GameTextForPlayer(playerid, "~y~n",5000,3);
}
case 15:
{
GameTextForPlayer(playerid, "~y~p",5000,3);
}
}
return 1;
}
with this code i get 6 errors^^
but i never dealed with "OnPlayerRequestClass" before
and i don't know how to fix it




