Hey Dude,
fix Line 120 form / to
-- Seconds
--TriggerServerEvent('jail', KeyboardInput("Enter the persons ID", "", 5), KeyboardInput("Enter Jail Time", "", 3))
-- Minutes
TriggerServerEvent('jail', KeyboardInput("Enter the persons ID", "", 5), (KeyboardInput("Enter Jail Time", "", 3)*60))
If you insert 1 it count to 60 seconds 
2 Likes
hallux
22
Thanks bud, haha my brain isn’t working well today. I too like his script…very clean.
SHTIN
23
It looks clean and beautiful, and it’s worth it because at least it replaces 5 resources that you could use from other people 
2 Likes
hallux
25
Really like what you’re doing here. I’m going to fork it and add my own twists
.
I think this is what I love the most about it…super easy to adapt, no reliance on some hodgepodge framework. Simple. Clean. Effective.
1 Like
Chezza
26
Thank you, appreciate it. 
1 Like
mysql-error its not clean dude 
can i cuff people put players in cars ext or …
Chezza
32
I have had my friend test the script as mentioned above and he experienced no errors. If you continue to experience errors I recommend using the c# version of MySQL-Async.
you ve a link please?
If for some reason you still want the C# Version it can be downloaded from https://github.com/brouznouf/fivem-mysql-async/tree/2.0
hallux
35
When I have some free time I think I’m going to try to port over the Scene Menu resource to this system.
1 Like
For some reason, I cannot change my rank to 2, any reason for this?
It wont put my steam hex or anything in the SQL
Edit: Nevermind i forgot to start mysql-async
so i get this error…
any thoughts?
well i got that erro to go away now i have
Looks like something goes wrong while connecting to your MySQL server from esx_extended
Chezza
40
You need to change it in the database for the admins / chiefs.