Turned Skins - 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: Turned Skins (
/showthread.php?tid=325126)
Turned Skins -
TonyMetal - 12.03.2012
Hello sa-mp people, i should ask something.
When I start my server and displays the skins, the skin appears turned 90 degrees. Which is more than I wrote in the script.
Example:
Script = Facing Angle 80 Degrees
Server = Facing Angle 80 + 90 Degrees
GMX in the server = Facing Angle 170 + 90 Degrees
So it changes when i restart the server. Weird bug, can anyone help me please?
-TonyMetal
Respuesta: Turned Skins -
TonyMetal - 18.03.2012
Bump.
Seriously, can anyone help me out there?
Re: Turned Skins -
Rac3r - 18.03.2012
Scripting bug, seems to work for everyone else.
Код:
public OnPlayerRequestClass(playerid, classid)
Pastebin this callback code, these guys might be able to see a problem that way.
Respuesta: Turned Skins -
TonyMetal - 18.03.2012
http://pastebin.com/D05xGLaB
The problem is, why does it turn when i restart the server or i relog?
Re: Turned Skins -
new121 - 18.03.2012
You need to add SetPlayerFacingAngle(playerid, angle); to that
Respuesta: Turned Skins -
TonyMetal - 18.03.2012
Thank you bro, how i forgot that? :facepalm: