OnPlayerRequestClass classid Only returning 3 skins?
#1

Hey guys,
this is driving me up the wall.

First off, under OnGameModeInt(...)

pawn Код:
for(new i=20; i<299; i++)
    {
        if(IsInvalidSkin(i)) continue;
       
        SkinIDs[i] = Class_Add(i, 0.0, 0.0, 4.0, 0.0, -1, -1, -1, -1); //Use SkinIDs[i] for use elsewhere
    }
OnPlayerRequestClass(playerid, classid)

pawn Код:
printf("%i", classid);
if(PlayersSkin != -1) Class_Goto(playerid, SkinIDs[PlayersSkin]);
else Class_Goto(playerid, classid);
When I try select a skin it only scrolls through 3 different skins and shows in console
Код:
0
1
2
0
1
2
0
1
2
Reply


Messages In This Thread
OnPlayerRequestClass classid Only returning 3 skins? - by [DK]Dark_Knight - 07.11.2014, 22:43
Re: OnPlayerRequestClass classid Only returning 3 skins? - by Eth - 07.11.2014, 22:59
Re: OnPlayerRequestClass classid Only returning 3 skins? - by [DK]Dark_Knight - 08.11.2014, 01:32
Re: OnPlayerRequestClass classid Only returning 3 skins? - by [DK]Dark_Knight - 08.11.2014, 23:56

Forum Jump:


Users browsing this thread: 2 Guest(s)