[RELEASE] [FREE] Useful Commands for RP | /job /cash /ping /license ... [ESX v1.2]

I just realized today is my cake day ( anniversary of the day I joined the community ) and I’ve never really released anything to the community so I think I’mma throw this here if anyone is interested

These are mainly some useful RP commands for ESX final:

/h → Hands up
/k → Kneel as if you’re being arrested
/job → Shows your actual job
/ping → Shows your actual ping
/cash → Shows your current cash
/socmoney → Shows your society account money
/license → Copies your license ( identifier ) to clipboard - very useful for admins to ask for in order to run sql queries to find smth about a player

Some bonus stuff:

  • Warns you when your ping is high ( > 150 ms )
  • Makes helicopters very hard to fly
  • Makes planes impossible to fly ( Engine cuts off mid-air after seconds )

( the latter two features are to prevent players from riding/stealing aircrafts so you need to implement your own license system in order to make other players with license able of flying them - you can comment lines from 32 to 46 and 50 to 59 if you don’t want this )

Requirements:

es_extended v1.2
mythic_notify

Installation:

Throw it in your resources folder and add this in your server.cfg:
start cmds

Github link:

Direct Download:
fivem-esx-cmds.zip (35.4 KB)

My Other Releases:

:green_circle: Custom Radio Sound Effect [FREE]
:red_circle: [QB-ESX] Rob NPC Script [PAID] [6.99€]
:green_circle: [RELEASE] Useful Commands for RP | /job /cash /bank /ping /license [FREE]
:red_circle: [ESX] AFK Mode / Idle Zone [4.99€]
:green_circle: [ESX] Ladders [FREE]
:green_circle: [FREE] Job-Based Blips Creator [ESX] [QBCore]


Tebex

8 Likes

Nice Release!

Appreciate it!

very helpful! nice!!

1 Like

nice release, could you add command for society money?

I will add it later today :wink:

1 Like

Updated
++ Added a /socmoney to show society account money
image

You can uncomment the lines 32 and 36 in order to limit the command to a certain rank

--- Command to show society money
RegisterCommand('socmoney', function(source,args)
	local societyname = PlayerData.job.name
	-- if PlayerData.job.grade >= 2 then
	ESX.TriggerServerCallback('esx_society:getSocietyMoney', function(acc)
		exports['mythic_notify']:SendAlert('inform', "["..PlayerData.job.label.."] Your society money: "..acc.."DH", 12000)
	end, societyname)
	-- end
end)
1 Like

t9dr dghlni lserveur dyalk

[UPDATED]

Changelog:

++ Added '/bank' command to check your bank account balance
* Changed Currency to USD
* Translated some French words to English

Hello,
/job doesn’t work it says “is not a valid command”
/h /k " is not a valid command"
/license doesn’t work too
Can you help?
Cordially

Did you start the resource successfully?
What ESX version are you running?

nice, can be realy cool in rp servers

Hey,
I’ve esx 1.2.0
I fixed it

The script is %100 compatible with ESX 1.2


/K cannot be used

That is not possible, it works great for me. Did u happen to change anything inside the code?
It looks like you’re missing this function:

function loadAnimDict( dict )
    while ( not HasAnimDictLoaded( dict ) ) do
        RequestAnimDict( dict )
        Citizen.Wait( 5 )
    end
end