SA-MP Forums Archive
Bug? SetSpawnInfo - Float:Angle having no effect. - 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: Bug? SetSpawnInfo - Float:Angle having no effect. (/showthread.php?tid=119218)



Bug? SetSpawnInfo - Float:Angle having no effect. - pyrodave - 07.01.2010

I have this placed in OnPlayerDeath and OnPlayerRequestSpawn.

pawn Код:
SetSpawnInfo(playerid,NO_TEAM,GetPlayerSkin(playerid),SpawnData[num][SX],SpawnData[num][SY],SpawnData[num][SZ],180.0,0,0,0,0,0,0);
The X, Y and Z works fine, but the angle has no effect at all. I have tried all sorts of different angles, and NOTHING, they all come out as 0 when spawning.

Am I doing something wrong? Or is it just broken?