An English translation would be nice:
https://github.com/Real-RP/kick_restart/blob/master/client.lua#L25
Also, how comes you’re checking their coords? Surely just dropping them when timer is reached would be easier, no?
An English translation would be nice:
https://github.com/Real-RP/kick_restart/blob/master/client.lua#L25
Also, how comes you’re checking their coords? Surely just dropping them when timer is reached would be easier, no?
thanks!
there is already an english translation included!
It checks if the player is active or not. This should solve the problem that you’re in sandy shores or something and have to walk
to the next garage. Mostly the Owner writes in chat if there is a restart to come. So you can drive to the next garage, even if he already started the resource, because it only kicks you when you do not press anything.
thanks for supporting me so much!
Download link is in Release Info
Let me know If you find some Bugs and post it below!
Please choose here what I should release for the next time:
Wich project should be continued?
Thanks for voting
Hmmmmm I closed this poll and well, it looks like you guys want both of it. So I will finish this project, and start than with the new one
Take a
1. What version did you have?
2. Did you have installed MySQL?
3. Have you changed Something?
I need some more Details, because I even not know what version you use.
Have a nice day!
@RyuShin
ESX version
MySQL is installed with async
no I havn’t touched anything
This is the path i use : C:\MainServer\resources[esx][misc]\esx_kick_restart
Don’t put it in [misc] that could cause the problem. Only put it in your [esx] folder.
@RyuShin
If you still have this Error, make sure to clear your cache, than check in your database If you have the ‘users’ table and Look there If you are an admin on your server.
If it does not work after that, than I will make a little test server, with everything setted up new. Maybe than I will find that Error…
I just tryed to put it in [esx] only and it still do the same error
cache has been cleared too
and my server has been up since month of june so everything is setup correctly
Ok, I will write back when I got reproduced your Error.
Thanks for supporting this!
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.