SA-MP Forums Archive
SetPlayerSkin desync - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: SetPlayerSkin desync (/showthread.php?tid=146499)



SetPlayerSkin desync - Tr1viUm - 07.05.2010

If you die after you had used SetPlayerSkin it will revert back to your previous skin but only on your own computer. It will stay the same at other peoples computers. I took two screenshots to prove it. They were taken at the same time.

[img width=960 height=768]http://www.uploadffs.nl/images/samp025.png[/img]
[img width=1024 height=640]http://www.uploadffs.nl/images/samp00ugu.png[/img]


Re: SetPlayerSkin desync - Sergei - 07.05.2010

I can confirm this. I fix that with re-setting player's skin under OnPlayerSpawn, so desync doesn't happen.


Re: SetPlayerSkin desync - Rac3r - 07.05.2010

Unsure on calling it a bug.

Suppose temp skins until they respawn (Possibly keep their main skin without permanently setting it).

Permanent skin :
Code:
SetPlayerSkin(playerid, skinid);
SetPlayerSpawnInfo(playerid, skinid, x, y, z, a, 0,0,0,0,0,0);
Not at home atm, I have a feeling the SetPlayerSpawnInfo params are wrong.

EDIT : Ooops, the desync lol Yeah you're right, it's bugged


Re: SetPlayerSkin desync - Sergei - 07.05.2010

I set spawn info with SetSpawnInfo, but still skin is desynced (CJ beats all other skins ).