Skin not saving on death
#1

My skins are not saving on death but the save on login/logut i tried putting setplayerskin on onplayer spawn but nothing happened it still spawns as CJ skin. Im using carlitos roleplay
Код:
SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
Reply
#2

You Use
pawn Код:
PlayerInfo [playerid] [pSkin] = GetPlayerSkin(playerid)
?
Reply
#3

no i used
Код:
SetPlayerSkin(playerid,PlayerInfo[playerid][pSkin]);
and i tried the oe u said it still didnt work
Reply
#4

In OnPlayerDisconnect and OnPlayerDeath

pawn Код:
PlayerInfo [playerid] [pSkin] = GetPlayerSkin(playerid);
Reply
#5

Don't put it in OnPlayerDisconnect and OnPlayerDeath but in OnPlayerRequestSpawn
Reply
#6

Quote:
Originally Posted by Luka P.
Посмотреть сообщение
Don't put it in OnPlayerDisconnect and OnPlayerDeath but in OnPlayerRequestSpawn
Not Friend:
pawn Код:
PlayerInfo [playerid] [pSkin] = GetPlayerSkin(playerid);
Save the Skin in Array (In OnPlayerDisconnect or OnPlayerDeath)


pawn Код:
SetPlayerSkin(playerid,PlayerInfo [playerid] [pSkin]);
( Set Skin for Player OnPlayerSpawn or OnPlayerRequestSpawn)

NOTE:

Not correcting if you do not know
¬¬
Reply
#7

Thanks guys it worked
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)