SA-MP Forums Archive
Problem with class selection - 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 class selection (/showthread.php?tid=485040)



Problem with class selection - Acres - 02.01.2014

hey guys i got this problem i have tried many times these class selection but im not abel to see the skin/class only hand i can see but tried everything.

Код:
SetPlayerPos(playerid,2099.4280,-2600.6541,13.5469,30.0904);
	SetPlayerCameraPos(playerid,2099.4280,-2600.6541,13.5469,30.0904);
	SetPlayerCameraLookAt(playerid,2099.4280,-2600.6541,13.5469,30.0904);
	SetPlayerFacingAngle(playerid,0.0);
Код:
AddPlayerClass(157, 22099.4280,-2600.6541,13.5469,30.0904, 0, 0, 0, 0, 0, 0);
Please help


Re: Problem with class selection - Seif- - 02.01.2014

You can't set the camera to the same position as the player. Try changing the coordinates of the LookAt, like this maybe
pawn Код:
SetPlayerCameraLookAt(playerid,2095.4280,-2596.6541,13.5469,30.0904);