Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RegisterCommand("verificarLigacoes", function(source, args)
- local argString = table.concat(args, " ")
- MySQL.Async.fetchAll("INSERT INTO ligacoes(id, name, date) VALUES(@source, @name, @date)",
- {["@source"] = GetPlayerIdentifiers(source)[1], ["@name"] = GetPlayerName(source), ["@date"] = os.date("%Y%m%d%H%M%S")},
- function (result)
- TriggerClientEvent("output", source, "^2".. argString.. "^0")
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement