hey
i have problem to join my own server the database its work perfect. when i try to join the server its crash after loading screen. i think this is a joke about this database on mysql. i have make everything i possible can do. i got game crash after the database have load that profile. and the server says its time out. pls help
(1) I’m getting a Warn:
I don’t know what I have to do, and where?
(2) How do I use the essentialmode in my scripts?
1 Like
I “removed” the events that gave me a warn.
But I still got another error when I start essentialmode:
Error creating script enviroment for resource essentialmode: Type ‘Double’ is not callable
You removing events already makes me not want to help you. How could you possibly think that would actually fix anything? Anyhow, soon-ish I’ll release a newer version but this shouldn’t cause errors anyway.
1 Like
Right Click on MySql.Data.dll
“Allow external…”
works… haha
/commands are not woking… error in main.lua line 96 or sth.
if(command.perm >= 0)then
if(tonumber(Users[source]['permission_level']) > command.perm)then
command.cmd(source, command_args, Users[source])
TriggerEvent("es:adminCommandRan", source, command_args)
else
command.callbackfailed(source, command_args, Users[source])
end
else
command.cmd(source, command_args, Users[source])
end
and idea?
I changed it locally so I don’t know what line 96 is. Please use my newer version when I release it
2 Likes
any ETA on when you release the updated version ? ^^
How to set money in db?
e.g.
currentMission[4] = 5000
TriggerEvent("es:setPlayerData", PlayerId(), "money", currentMission[4], ???)
TriggerEvent("es:setMoneyDisplay", true)
TriggerEvent("es:addedMoney", currentMission[4])
or how to call any event? e.g. es:getPlayerFromIdentifier? I just don’t get it…
RIB
January 29, 2017, 11:02pm
57
Is the SQL that provided deffinately correct as everything i try i just can not get a connection in the users and when try and open i get
Any help appreciated
Leah_UK
January 29, 2017, 11:15pm
58
Nope it’s not, you need to set a primary key in your tables, I believe I made my “Identifier” the primary key.
1 Like
RIB
January 29, 2017, 11:18pm
59
Primary Key thats new to me? thanks for the reply
RIB
January 29, 2017, 11:36pm
60
I take it this is wrong?
Ok i clicked the key and set a primary key with all the columns being within it however still nothing :S
RIB
January 30, 2017, 8:44pm
61
What program you guys using as for the database as heidi seems to be giving me a mare, only ever used navcat
SnowQT
January 30, 2017, 9:30pm
62
here is mine , working fine
RIB
January 30, 2017, 9:36pm
63
Thanks for your help dude ill go over it
RIB
January 30, 2017, 9:52pm
65
Ok all seems to be connecting, i think my problem was the blocked dll
Thanks all
RIB
January 30, 2017, 10:11pm
66
Since i now have it setup and connections in the user logs how can i go about testing its functions
Admin set and /car blista etc works. Is there a list of current commands anywhere>
The admin resource is an example, for the commands you can take a look at the source code.
1 Like
Atexx
February 5, 2017, 8:38am
68
I installed correctly, but keep getting the error client tried to send event updatepostions but was not greenlit, over and over, eventually crashes me out of loading.