![]() ![]() This script has not been tested on a large scale and consequently may have minor glitches. If(ESX.GetPlayerData().job.name = “police” or ESX.GetPlayerData().job.name = “cnp”) then Someone commented that this might work also, but yet again, not sure: If(ESX.TriggerServerCallback(‘esx_service:isInService’, function(isInService)) then ![]() Note for ESX users: I believe the following line should work, but I am not familiar with ESX, so don’t quote me on it. In order to defeat this, you must replace the commented out if statement on line 435 with whatever your server uses to check if the player is an on duty officer. Note Make sure you start the NativeUI resource before the others and start all three of them in order for everything to work properly.ĮXTREMELY IMPORTANT: Currently, the menu is accessible by all players, meaning that anyone can use it. Simply Drag into your resources folder and add both resources to your startup list in the server config ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |