Data not loading
#1

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!
Reply
#2

bump?
Reply
#3

Sets All data in your variables before call function SpawnPlayer(playerid);

If not load data, please put your log mysql
Reply
#4

Here's the sql error.

http://upaste.me/r/b7ce39165eb7c9eef
Reply
#5

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
Reply
#6

Yes.

Reply
#7

Bump? please need help.
Reply
#8

Hello?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)