SA-MP Forums Archive
Problem with CJ skin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Problem with CJ skin (/showthread.php?tid=484349)



Problem with CJ skin - AA9 - 30.12.2013

Hey, i have problem with spawning, i spawn always with CJ skin. It should retrive a value from MySQL and it do it right, but when i spawn it sets my skin ID 0.


Re: Problem with CJ skin - Vykintas - 30.12.2013

Код:
public OnPlayerSpawn(playerid)
{
	SetPlayerSkin(playerid,SKIN_ID); // Take skin id from your MYSQL
	return 1;
}
Should fix it


Re: Problem with CJ skin - AA9 - 30.12.2013

It is like your example.