Ok thanks, I got it running after some time. Now what i try to figure is how to implement this in normal missions.
Like I will add the mod that npc’s drop money. Now I want to add some code to add the money to the database also.
I’m kind of lost with the TriggerEvent stuff…
So far i have been able to get the mysql database up and running and i have been able to successfully stream all resources for the essentialmode to my server - YAY
But now im stuck in regards to scripting.
I am attempting to add a jail system to my server
(source: [Release] Simple Jail System)
But they have conveniently left out how to script the essentialmode.
Based on their instructions i was able to create a column in the users table named “detained” but i do not know how to make a script that would change the value of detained to 1.
add essentials folder and es_admin folder to resource folder. put them on your server config so they load, install mysql, run the sql file that comes with it, Rename the Example game mode folder to your game mode name and put that in your resource folder, Then go to your map your using ( default is the fivem–skater or something ) oppen __resource.lua and change at top from fivem=true to yourgamemodename = true, and boom thats it
Hi Everyone, I’m New-ish here and I’m interested in taking my community’s servers to the next level by adding in some items/options to enhance our gaming experience. By trade I’m head of IT for an international medical technology company and while my powershell and .bat experience is decent I’m not experienced in .Lua. I’m willing to try to learn but before I dedicate time I don’t honestly have into learning some scripting, Will essentials mode help obtain the following? or no?
Paycheck System for Officers
Weapon Store for officers
Pop up window upon server login with rules etc
Vehicle store for officers
Vehicle spawning restrictions based on group membership
Block no clip and other commands based on group memberships
Create a Name and save player data upon accessing server
Thanks in advance for taking the time to answer, and to @Kanersps for the hard work in providing EssentalMode to the community.
-P