OnPlayerRequestClass - Picture of skin not showing up (RESOLVED)
#1

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....
Reply
#2

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);
Reply
#3

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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)