![]() It should be correspondent with the ID when you created it TriggerEvent('esx_status:getStatus', 'stress', function(status) The example below ticks while getting from a custom status registered on esx_status. It should be set on a Wait() timer to update on whenever your custom status is. You can search on FontAwesome for an icon and when you find one of your liking, change it there. ![]() color : The color you want for the status.I would recommend you create a new script with the code and load it below trew_hud_ui on your server.cfg.Ĭreates a new indicator after the existing ones.ĪddEventHandler('playerSpawned', function() You can create custom indicators for status you already have, like stress status, drunken, shit, piss, you name it! You would just have to use the new exports functions. showWeapons : Displays the weapons you have on your hand, with ammo.showVoice : Displays/use the voice controller.showMinimap : Displays the minimap while off the vehicle.Default is true (Society money only works on ESX) showSocietyMoney : If you are the boss of a job, it displays the money you have in the society vault.showBlackMoney : Displays the black money you have.showBankMoney : Displays the money on your bank account.showWalletMoney : Displays the money on your wallet.signalBoth: Activate/deactivate car danger signal.signalRight: Activate/deactivate car right signal.signalLeft: Activate/deactivate car left signal.cruiser: Activate/deactivate cruiser speed.maxSpeed : The top speed the Speedometer is allowed to go.speedUnit : It should be set either KMH or MPH.distance: Distance in meters for a default distance. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |