28.07.2009, 16:01
I tried searching and looking at tutorials, but it doesn't really explain what I want. I have multiple teams for my DM server. It's gonna be three or four of them. So I don't know how to add the skins to SetPlayerTeamFromClass and OnPlayerRequestClass and all that cause it costs errors everytime. I tried:
Код:
public OnPlayerRequestClass(playerid, classid)
{
SetupPlayerForClassSelection(playerid);
SetPlayerTeamFromClass(playerid,classid);
if(classid == 0 || classid == 1 || classid == 2) {
GameTextForPlayer(playerid,"~r~TEAM Example Text",1000,5);
} else if(classid == 3 || classid == 4 || classid == 5) {
GameTextForPlayer(playerid,"~g~TEAM Example Text",1000,5);
} else if(classid == 6 || classid == 7 || classid == 8 || classid == 9) {
GameTextForPlayer(playerid,"~g~TEAM Example Text",1000,5);
return 1;
}

