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
ChezzaGB:master
ā NebelRebell:patch-4
opened 02:55PM - 11 Apr 19 UTC
2 Likes
hallux
April 11, 2019, 2:58pm
22
Thanks bud, haha my brain isnāt working well today. I too like his scriptā¦very clean.
SHTIN
April 11, 2019, 4:16pm
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
April 11, 2019, 6:04pm
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
April 11, 2019, 6:06pm
26
Thank you, appreciate it.
1 Like
mysql-error its not clean dude
can i cuff people put players in cars ext or ā¦
Chezza
April 11, 2019, 7:34pm
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
April 11, 2019, 8:13pm
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
Chezza:
Click
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
April 12, 2019, 3:32pm
40
You need to change it in the database for the admins / chiefs.