I sadly do not maintain this script no longer so I suppose shit is broken as last edit was made like over 2 years ago. I have moved on to my custom framework project so I do not have time or motivation for this as most of the code in this script is pretty junky so sorry for bad response times if any at all.
But to answer your question,
- Make sure that you imported the sql file to the correct db.
- Make sure that your mysql-async resource is setup and working correct.
1 Like
Alright, thank you for taking time to respond to me and I apologise about taking time out of your day. Have a good rest of your day or night and I hope that your custom framework works as intended. Stay safe.
1 Like
I found out why the script doesnât work! Why would you put some as âcommandâ and others as âcommandâ in the mdt_server.lua?
Replace this:
RegisterCommand(âvehâ, function(source, args, rawCommand)
local PLAYER = source
local STEAMID = GetSteamID(PLAYER)
With this:
RegisterCommand(âvehâ, function(source, args, rawCommand)
local PLAYER = source
local STEAMID = GetSteamID(PLAYER)
Do the same to this:
RegisterCommand(âflashidâ, function(source, args, rawCommand)
local PLAYER = source
local STEAMID = GetSteamID(PLAYER)
RegisterCommand(âflashidâ, function(source, args, rawCommand)
local PLAYER = source
local STEAMID = GetSteamID(PLAYER)
Hope this helps!
what, that makes no sense, it is still a string?
Yeah, but somehow by doing this the whole thing works!
well, thats good atleast xD