Where can I use AddPlayerClass other than OnGamemode/FilterscriptInit?
#1

I have 300 skins under OnGamemodeInit
pawn Код:
for(new skins = 0, skins2 = 300; skins < skins2; skins++)
    {
        AddPlayerClass(skins, 1544.7887,-1675.4630,13.5591, 90.0, 0, 0,0 ,0,0,0);
    }
It shows skin 0, 1, 2, ... 299 as I scripted it that way. But I want to show, let's say 29 first (depends on player's saved skin), then 0, 1, 2, 3, ... How am I gonna do that? I've tried adding AddPlayerClass(pInfo[playerid][Skin], 1544.7887,-1675.4630,13.5591, 90.0, 0, 0,0 ,0,0,0) under OnPlayerRequestClass, but no luck.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)