Player Skin isnt working
#3

Ewww... Let me change your /skin command
pawn Код:
CMD:skin(playerid,params[])
{
    pInfo[playerid][pSkin] = GetPlayerSkin(playerid);
    GameTextForPlayer(playerid,"~r~Skin Saved!",3000,5);
    return 1;
}
Explaination: Now, if you execute the command /skin, it'll save your current skin to pInfo[playerid][pSkin].
If you want the same skin to be used after relogging and stuffs, go to your OnPlayerDisconnect and add
pawn Код:
INI_WriteInt(File,"Skin",pInfo[playerid][pSkin]);
and load it when he connects.
Reply


Messages In This Thread
Player Skin isnt working - by lukas_loky - 13.07.2014, 07:52
Re: Player Skin isnt working - by amirab - 13.07.2014, 08:39
Re: Player Skin isnt working - by biker122 - 13.07.2014, 08:44
Re: Player Skin isnt working - by lukas_loky - 13.07.2014, 20:03
Re: Player Skin isnt working - by lukas_loky - 14.07.2014, 04:44

Forum Jump:


Users browsing this thread: 3 Guest(s)