Request Classes
#1

well i made a skin save command, to save the skin to spawn the player in the current skin on next time he logged in..

so how to make this command makes the classes switching disabled, and to be only one skin choose able (the saved skin).

what i make is this, and didn't work.....
i put this under on game mode in it callback:

Notes After reading the code:
PlayerInfo[i][pSkinSave]: its set to 1 when the player type the save skin command.
PlayerInfo[i][pSkin] = Get Player Skin (playerid).

pawn Код:
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            if(PlayerInfo[i][pSkinSave] == 1)
            {
                AddPlayerClass(PlayerInfo[i][pSkin],2128.4822,1144.7655,13.5090,101.9559,0,0,0,0,0,0);
            }
        }
    }
Reply


Messages In This Thread
Request Classes - by AnonScripter - 23.10.2013, 19:32
Respuesta: Request Classes - by Alex_Obando - 23.10.2013, 20:06
Re: Request Classes - by AnonScripter - 23.10.2013, 23:12
Re: Request Classes - by -=Dar[K]Lord=- - 23.10.2013, 23:16
Re: Request Classes - by AnonScripter - 23.10.2013, 23:22
Re: Request Classes - by Zex Tan - 24.10.2013, 03:28
Re: Request Classes - by AnonScripter - 24.10.2013, 20:51
Re: Request Classes - by JonnyDeadly - 25.10.2013, 03:21
Re: Request Classes - by AnonScripter - 01.11.2013, 11:25

Forum Jump:


Users browsing this thread: 1 Guest(s)