Update server.lua
Added missing exports
This commit is contained in:
1 parent
0b9cee4d00
commit
818c3177b1
1 file changed
+4
-1
+4
-1
@@ -1,3 +1,6 @@
|
||||
local QBCore = exports['qb-core']:GetCoreObject()
|
||||
|
||||
|
||||
QBCore.Commands.Add('kicknew', 'kick', {
|
||||
{name = "Id", help = "Player Id"}
|
||||
}, false, function(source, args)
|
||||
@@ -14,4 +17,4 @@ QBCore.Commands.Add('kicknew', 'kick', {
|
||||
SetTimeout(10000, function()
|
||||
DropPlayer(targetId, "You have been kidnapped and kicked from the server.")
|
||||
end)
|
||||
end, 'god')
|
||||
end, 'god')
|
||||
Reference in new issue
Block a user