SetSpawnInfo - Spawn at 0,0,0
#2

Well if you're being placed at 0.0, 0.0, 0.0, then obviously the loading isn't working correctly or you wouldn't be having this issue.

Try debugging to see what the values of 'pX', 'pY', 'pZ' and 'pA' are. Also, you are loading from the tag 'data', meaning if those values are not assigned under the tag (INI_SetTag) 'data', then they won't be loaded. This can be solved by loading all values from 'LoadUser' by doing:
PHP код:
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra true, .extra playerid); 
And I wouldn't recommend using udb to hash your passwords.. it might be easier for you to store and handle the passwords, but it isn't the best hashing method around.
Reply


Messages In This Thread
SetSpawnInfo - Spawn at 0,0,0 - by Aerotactics - 10.02.2017, 23:40
Re: SetSpawnInfo - Spawn at 0,0,0 - by Threshold - 10.02.2017, 23:50
Re: SetSpawnInfo - Spawn at 0,0,0 - by Aerotactics - 11.02.2017, 02:55
Re: SetSpawnInfo - Spawn at 0,0,0 - by Aerotactics - 11.02.2017, 03:23
Re: SetSpawnInfo - Spawn at 0,0,0 - by BroZeus - 11.02.2017, 03:39
Re: SetSpawnInfo - Spawn at 0,0,0 - by Aerotactics - 11.02.2017, 03:44
Re: SetSpawnInfo - Spawn at 0,0,0 - by Threshold - 11.02.2017, 03:52
Re: SetSpawnInfo - Spawn at 0,0,0 - by Aerotactics - 11.02.2017, 04:07

Forum Jump:


Users browsing this thread: 2 Guest(s)