mysql with ORM - 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: mysql with ORM (
/showthread.php?tid=586650)
mysql with ORM -
bogushas - 23.08.2015
Hello guys,
here is the code:
http://hastebin.com/jipiziwixa.coffee
and the problem is, that when I connect / spawn I'm getting GameTextForPlayer - "stay with the world bounders". Any solutions?
Re: mysql with ORM -
CrazyChoco - 23.08.2015
Set the spawn positions within the World bounders. Try setting x, y, z to 0, 0, 0.
Re: mysql with ORM -
bogushas - 23.08.2015
I done the print:
PHP код:
[23:25:58] POS: -834214016.000000 1318930048.000000 1318930048.000000, SKIN: 0, NAME: Funkis_Disantoxx
The POS wasn't good with the mysql info:
http://i.imgur.com/OJQQAXb.png
Re: mysql with ORM -
Nixtren - 23.08.2015
You're calling SpawnPlayer before setting the Spawn Info. Try switching the order:

(First SetSpawnInfo and then SpawnPlayer)