27.12.2011, 15:52
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
next
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)
and about the last pos, i may tell you later, cuz im too sleepy , just PM tomorrow
hope that will help you :yawning:
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];
pawn Код:
public OnPlayerSpawn(playerid)
{
SetPlayerSkin(playerid, PlayerInfo[playerid][pSkin]);
return 1;
}
pawn Код:
PlayerInfo[playerid][pSkin] = skin;
hope that will help you :yawning: