SA-MP Forums Archive
OnPlayerRequestClass - Picture of skin not showing up (RESOLVED) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OnPlayerRequestClass - Picture of skin not showing up (RESOLVED) (/showthread.php?tid=112885)



OnPlayerRequestClass - Picture of skin not showing up (RESOLVED) - curation - 10.12.2009

In the screen where the player chooses which skin they want to use, mine doesn't seem to work. I can't view the skins with left or right (or at all), and it doesn't show the player skin - it only shows the background of where I saved the player in debug.

AddPlayerClass(43,1245.9656,-1402.8077,13.0046,309.7588,25,35,28,150,0,0);

and


public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1245.9656,-1402.8077,13.0046);
SetPlayerCameraPos(playerid, 1245.9656,-1402.8077,13.0046);
SetPlayerCameraLookAt(playerid, 1245.9656,-1402.8077,13.0046);
return 1;
}



Were used together, any help please?


Earlier I thought it worked, but it turned out I was on the wrong server....


Re: OnPlayerRequestClass - Picture of skin not showing up - [HiC]TheKiller - 11.12.2009

Change your
pawn Код:
SetPlayerCameraPos(playerid, 1245.9656,-1402.8077,13.0046);
it's at the same position as the player . Try
pawn Код:
SetPlayerCameraPos(playerid, 1245.9656,-1400.8077,13.0046);



Re: OnPlayerRequestClass - Picture of skin not showing up - curation - 11.12.2009

Quote:
Originally Posted by [HiC
TheKiller ]
Change your
pawn Код:
SetPlayerCameraPos(playerid, 1245.9656,-1402.8077,13.0046);
it's at the same position as the player . Try
pawn Код:
SetPlayerCameraPos(playerid, 1245.9656,-1400.8077,13.0046);
Hey thanks. There's still a bit of error with the looks and stuff, but that was the solution, thanks again!