[Free] Kick player on cool way

chrome_ea2UCyA4GY

Fivem Kick system
Kick your players on a cool way

Github : https://github.com/sizan19/fivem-kick

60 Likes

congratulations on the idea

4 Likes

Should change the standalone tag to QBCore…

1 Like

good ideaa… can be more fun for player who AFK to long :rofl:

5 Likes

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)
2 Likes

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 :joy:

1 Like

hahahahhaha,Very creative haha

2 Likes

lmaoooo thats a funny way to put it

1 Like

Hey IlyScripts can i use this resource and make it for ESX? i would of course give you credits. Kind Regards Matlukji

1 Like

esx??

1 Like

Love this. Is it possible to have it as a 15 minute afk feature instead of kick by admin? thank you kindly

2 Likes

fivem-kick.zip (2.2 KB)
There u go, i make for esx and is for rank “best”

2 Likes

Perfect idea ! :smile:

1 Like

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

1 Like

send a pull request it will help all of us :slight_smile:

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?

1 Like

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 :yum: