
Fivem Kick system
Kick your players on a cool way
congratulations on the idea
Should change the standalone tag to QBCore…
good ideaa… can be more fun for player who AFK to long ![]()
not too sure why that is a big issue when you can just change it to this
RegisterCommand('kick', function(source, args, rawCommand)
local targetId = tonumber(args[1])
if IsPlayerAceAllowed(source, 'ilv.kickplayer') then
if not targetId or GetPlayerName(targetId) == nil then
TriggerClientEvent("chat:addMessage", source, {
args = {"^1Error", "Invalid player ID"}
})
return
end
TriggerClientEvent("kick:ilv-scripts:KickKidnapScene", targetId)
SetTimeout(10000, function()
DropPlayer(targetId, "You have been kidnapped and kicked from the server.")
end)
else
TriggerClientEvent('chat:addMessage', source, {
args = {'^1Error', 'Access Denied'}
})
end
end, false)
Although I don’t make servers anymore, I’d like to say if I was going to. I’d be using this, I like this ![]()
hahahahhaha,Very creative haha
lmaoooo thats a funny way to put it
Hey IlyScripts can i use this resource and make it for ESX? i would of course give you credits. Kind Regards Matlukji
esx??
Love this. Is it possible to have it as a 15 minute afk feature instead of kick by admin? thank you kindly
fivem-kick.zip (2.2 KB)
There u go, i make for esx and is for rank “best”
Perfect idea ! ![]()
This is very good, but I think the car might disappear somehow or the NPC might get in the car and drive away because he just doesn’t give a damn about the car and drives away hahahahaha
send a pull request it will help all of us ![]()
hahaha this is great ! can I change the kidnapper to a drag queen hahaha
Can some1 make ban versio
looking too implement this in something im making if i finish an edit may i post it as free with you mentioned?
omg i cant stop laughing over the fact of doing this to people lmao especially my friends
yes why not if its free share it here too whats cooking ![]()