Information about skins
#1

Hello,
I need help in something again. I'm looking for "skins information" little script. I couldn't find it, so can anyone paste here example of it? I mean that, if current skin on class selection is ID 152, what should the server do for the character (ex. animation, GameTextForPlayer with "Girl" and other things - for that, make "//Here"). And please paste for three skins (I will easily add more then) for skin ID 3, 4 and 5.

Here's a script from rivershell, it's near that what I mean (it appears . I ask only, because I had a problem and I didn't know how to fix it (information about skin was the same every character)...

Quote:

public OnPlayerRequestClass(playerid, classid)
{
SetupPlayerForClassSelection(playerid);
SetPlayerTeamFromClass(playerid,classid);

if(classid == 0 || classid == 1) {
GameTextForPlayer(playerid,"~g~GREEN ~w~TEAM",1000,5);
} else if(classid == 2 || classid == 3) {
GameTextForPlayer(playerid,"~b~BLUE ~w~TEAM",1000,5);
}


return 1;
}

Thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)