FiveM Server Development DAY 9
LOCKED

Announcement / YouTube Posts / FiveM Server Development DAY 9

Posted: 5 months ago / Dec 20, 2020
Edited: 5 months ago / Dec 20, 2020

Owner
OP

Owner
OP

Changes to be made in server.cfg

remove new_banking

remove trew_hud_ui

 

Add lines in server.cfg

#DAY9

start esx_heligarage

start esx_showcommands

start op-hud

start st-banking

 

Changes to be done in es_extended

Go to es_extended/server/classes/player.lua

JUST ADD TRIGGERCLIENTEVENT LINES ONLY!

#266
after acc==bank
self.set('bank', newMoney)
TriggerClientEvent('st-banking:updateBank', self.source, newMoney)

#283
if acc == 'bank' then
self.set('bank', newMoney)
TriggerClientEvent('st-banking:addBank', self.source, money
TriggerClientEvent('st-banking:updateBank', self.source, newMoney)

#303
if acc == 'bank' then
TriggerClientEvent('st-banking:removeBank', self.source, money)
TriggerClientEvent('st-banking:updateBank', self.source, newMoney)


Please sign in to view & create replies.