Well, unfortunately I have now the same problem…
I guess it is because of the last update. I would like to fix it now, but my server needs a brake… So I will fix it in the evening.
Again, thanks for supporting!
Well, unfortunately I have now the same problem…
I guess it is because of the last update. I would like to fix it now, but my server needs a brake… So I will fix it in the evening.
Again, thanks for supporting!
No problem, this is a great features and save alot of trouble with people loosing stuff on reboot I will wait for your update
Have a good day
Ok, So I figured it out a little bit.
The thing is that I lost somewhere a resource which is needed… but I have no idea what it was. Maybe it is cron, not sure, but you can try it out
more Burgers!!!
@RyuShin
ok it is not cron
hmmmmmmmmmm
The problem is that it is not able to select the source in
DropPlayer(source, ‘sentence’)
It is not returning anything
But if you make something like :
RegisterCommand("kickall", function()
RegisterServerEvent("kickall")
AddEventHandler("kickall", function()
_source = source
local grupos = getIdentity(source)
if grupos.group ~= 'user' then
DropPlayer(_source, 'Toutes les situations de RôlePlay se sont terminées automatiquement. Votre progrès a été enregistré. Reason: Server restart')
else
return nil
end
end)
end)
It will succesfully kick you because it found it
Hmm, yeah that should work, but I think it should be exactly like that in the download File…
Hmm Update will get released today
Alright I will check it out when you push it, but the code i gave only kick you and nobody else
hmmm ok thanks for mention it.
solved a bug for some people that can’t execute the /kickall command, thanks to @RyuShin <3
added a /closeconnect command, so new people will not be able to connect to your server and will see a message in your server info
let me know more bugs into the comments, I will try to fix the ‘clientside’ problem very soon. But I have no one to test it
take a
Update can be downloaded from above!
Update look great, but the command /kickall for esx_version only kick me and nobody else
yeah, need to wait for my buddy, because I can’t test it when I am alone.
you could try this:
clear the
_source = source
line and
clear the source from getIdentity
after _source
line.
If this works I am actually a king, because I can’t test it without somebody xDDDD
I tryed the non-esx version and it work like a charm, will keep this one for the moment
yeah I will update this of course soon with add_ace permissions
Release should be on monday. If you want to use the esx version, than you need to know that I will NOT support any ERRORS on this ressource. You need to have a basic knowledge for this!
Update 2.4
If you’ve found some bugs or errors, than post them below.
if someone could test if /beginrestart now works server side, please write below so I know it.
thanks and take a
Tried it and it only kicked me.
hmm, wait I’ll check that, but you can use the old version. This will work.
still only kick me
Alright, I fix that today, promised!
And sorry for the problems with the client side, but there is no native for kicking everyone, so I need to make something like afk kick, but without time before kick, Update comes today!
If you yes exactly you can’t wait for this update, download the old Version! This works definately!
Take a
Update Version 2.6.1
have fun with it!
get it here
I did /beginrestart and it kicked me only… with the new version 2.6.1