Skin help
#1

im trying to make an /oskin so if u use it, first time your skin will be 114 then 115, 116 after 114.
but when i do /oskin it changes to skin 116 please help JAtoch. i wanna add 3skins on /oskin
pawn Код:
COMMAND:oskin(playerid, params[])
{
    if(gTeam[playerid] == 1)
    if(!GetPVarInt(playerid,"pSkinned"))
    {
        SetPlayerSkin(playerid, 114);
        SetPVarInt(playerid,"pSkinned",2);
        SendClientMessage(playerid,green,"You had changed your SKIN!");
    }
    else
    {
        SetPlayerSkin(playerid,115);
        SetPVarInt(playerid,"pSkinned",1);
        SendClientMessage(playerid,green,"You had changed your SKIN!");
    }
    else
    {
        SetPlayerSkin(playerid,116);
        SetPVarInt(playerid,"pSkinned",0);
        SendClientMessage(playerid,green,"You had changed your SKIN!");
    }
    return 1;
}
Reply


Messages In This Thread
Skin help - by tanush - 11.03.2011, 00:09
AW: Skin help - by Nero_3D - 11.03.2011, 00:32
Re: Skin help - by tanush - 11.03.2011, 01:03
Re: AW: Skin help - by Unknown123 - 11.03.2011, 01:08

Forum Jump:


Users browsing this thread: 1 Guest(s)