Avoiding bug
#5

1) i can't help on that

but perhaps on 2

2)

first you must enum the player data first, which will save the skin number to be use next time you'll login

pawn Код:
enum pInfo
{
    pSkin,
}
new PlayerInfo[MAX_PLAYERS][pInfo];
next

pawn Код:
public OnPlayerSpawn(playerid)
{
    SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
    return 1;
}
and if you have any /setskin command don't forget to add this at the very end of the line of the command, which will save the skin to your player data(user)

pawn Код:
PlayerInfo[playerid][pSkin] = skin;
and about the last pos, i may tell you later, cuz im too sleepy , just PM tomorrow

hope that will help you :yawning:
Reply


Messages In This Thread
Avoiding bug - by Abreezy - 27.12.2011, 03:00
Re: Avoiding bug - by jamesbond007 - 27.12.2011, 03:06
Re: Avoiding bug - by Abreezy - 27.12.2011, 03:11
Re: Avoiding bug - by Abreezy - 27.12.2011, 15:08
Re: Avoiding bug - by BlackID - 27.12.2011, 15:52
Re: Avoiding bug - by Abreezy - 27.12.2011, 15:56
Re: Avoiding bug - by BlackID - 27.12.2011, 17:39

Forum Jump:


Users browsing this thread: 2 Guest(s)