Data not loading - 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: Data not loading (
/showthread.php?tid=626631)
Data not loading -
eikzdej - 17.01.2017
Hi! I use this system
https://sampforum.blast.hk/showthread.php?tid=574714
And here's my script:
http://upaste.me/r/a0db39131e814d67c
Now the problem is, when I disconnect, It does save data. But when I relog to the game, my skin turns into CJ and my map different now.
Which part of the script i made a mistake? Thanks!
Re: Data not loading -
eikzdej - 18.01.2017
bump?
Respuesta: Data not loading -
Eloy - 18.01.2017
Sets All data in your variables before call function SpawnPlayer(playerid);
If not load data, please put your log mysql
Re: Data not loading -
eikzdej - 18.01.2017
Here's the sql error.
http://upaste.me/r/b7ce39165eb7c9eef
Re: Data not loading -
4D1L - 18.01.2017
Are you sure your database has been set up properly?
Код:
[17:11:54] [DEBUG] cache_get_value_name_int(0, "Admin_Level", 0x05818CDC)
[17:11:54] [ERROR] cache_get_value_name_int: field 'Admin_Level' not found
[17:11:54] [DEBUG] cache_get_value_name_int(0, "VIP_Level", 0x05818CE0)
[17:11:54] [ERROR] cache_get_value_name_int: field 'VIP_Level' not found
[17:11:54] [DEBUG] cache_get_value_name_int(0, "Player_Level", 0x05818CE4)
[17:11:54] [ERROR] cache_get_value_name_int: field 'Player_Level' not found
[17:11:54] [DEBUG] cache_get_value_name_int(0, "Money", 0x05818CE8)
[17:11:54] [ERROR] cache_get_value_name_int: field 'Money' not found
[17:11:54] [DEBUG] cache_get_value_name_int(0, "Cash_Point", 0x05818CEC)
[17:11:54] [ERROR] cache_get_value_name_int: field 'Cash_Point' not found
[17:11:54] [DEBUG] cache_get_value_name_int(0, "Skin", 0x05818CF0)
[17:11:54] [ERROR] cache_get_value_name_int: field 'Skin' not found
[17:11:54] [DEBUG] cache_get_value_name_float(0, "Health", 0x05818CF4)
[17:11:54] [ERROR] cache_get_value_name_float: field 'Health' not found
[17:11:54] [DEBUG] cache_get_value_name_float(0, "Armour", 0x05818CF8)
[17:11:54] [ERROR] cache_get_value_name_float: field 'Armour' not found
[17:11:54] [DEBUG] cache_get_value_name_float(0, "PosX", 0x05818CFC)
[17:11:54] [ERROR] cache_get_value_name_float: field 'PosX' not found
[17:11:54] [DEBUG] cache_get_value_name_float(0, "PosY", 0x05818D00)
[17:11:54] [ERROR] cache_get_value_name_float: field 'PosY' not found
[17:11:54] [DEBUG] cache_get_value_name_float(0, "PosZ", 0x05818D04)
[17:11:54] [ERROR] cache_get_value_name_float: field 'PosZ' not found
[17:11:54] [DEBUG] cache_get_value_name_float(0, "PosA", 0x05818D08)
[17:11:54] [ERROR] cache_get_value_name_float: field 'PosA' not found
[17:11:54] [DEBUG] cache_get_value_name_int(0, "Interior", 0x05818D0C)
[17:11:54] [ERROR] cache_get_value_name_int: field 'Interior' not found
[17:11:54] [DEBUG] cache_get_value_name_int(0, "VirtualWorld", 0x05818D10)
[17:11:54] [ERROR] cache_get_value_name_int: field 'VirtualWorld' not found
Re: Data not loading -
eikzdej - 18.01.2017
Yes.
Re: Data not loading -
eikzdej - 18.01.2017
Bump? please need help.
Re: Data not loading -
eikzdej - 18.01.2017
Hello?