[HELP] How to save a player skin with Y_ini?
#3

pawn Код:
CMD:myskin(playerid, params[])
{
    new skinid, string[256];
    if(sscanf(params, "i", skinid)) SendClientMessage(playerid, 0xFFFFFFAA,"usage: /myskin [skinid]");
    if(skinid > 299) return SendClientMessage(playerid,0xFF0000AA,"error: Available skin: 0 - 299 !");
    SetPlayerSkin(playerid,skinid);
    format(string, sizeof(string), "You have change your skin!");
    SendClientMessage(playerid, 0xFF0000AA, string);
    return 1;
}
pawn Код:
public OnPlayerSpawn(playerid)
{
    PlayerInfo[playerid][pSkins] = GetPlayerSkin(playerid); //i dont know your variables
    return 1;
}
hmm
Reply


Messages In This Thread
[HELP] How to save a player skin with Y_ini? - by maxive - 04.08.2012, 01:02
Re : [HELP] How to save a player skin with Y_ini? - by lelemaster - 04.08.2012, 01:07
Re: [HELP] How to save a player skin with Y_ini? - by Devilxz97 - 04.08.2012, 02:07
Re : Re: [HELP] How to save a player skin with Y_ini? - by Sandiel - 04.08.2012, 04:38
Re: [HELP] How to save a player skin with Y_ini? - by Devilxz97 - 04.08.2012, 04:40

Forum Jump:


Users browsing this thread: 1 Guest(s)