Player positions not loading properly
#7

Heres how it goes.

Under OnPlayerConnect, via MySQL, player's data is fetched using SELECT statement(Make sure to use tquery), now the command is passed to the threaded function. Under That function, get the float values from the cache and store them inside the player variables. Now, under OnPlayerRequestSpawn, use SetSpawnInfo() with the values you previously got from DB and then Spawn him.
Reply


Messages In This Thread
Player positions not loading properly - by OMonger - 25.07.2018, 18:04
Re: Player positions not loading properly - by Usmanmemon - 25.07.2018, 18:23
Re: Player positions not loading properly - by denNorske - 25.07.2018, 19:51
Re: Player positions not loading properly - by Calisthenics - 25.07.2018, 19:54
Re: Player positions not loading properly - by OMonger - 25.07.2018, 20:02
Re: Player positions not loading properly - by Calisthenics - 25.07.2018, 20:28
Re: Player positions not loading properly - by GTLS - 26.07.2018, 14:47

Forum Jump:


Users browsing this thread: 3 Guest(s)