Bob74 / bob74_ipl

Fix holes and customize the map
https://forum.fivem.net/t/release-fix-holes-in-the-map/25240
MIT License
249 stars 230 forks source link

Finance & Felony: Organization #103

Closed wichertp closed 2 months ago

wichertp commented 2 years ago

First of all Did you try disabling bob74_ipl to see if the issue is still there? /No Did you use the latest version of bob74_ipl ? Yes Did you use an up to date server artifact ? Yes/

Describe the bug Organization names visable in all offices

using the following:

Citizen.CreateThread(function() FinanceOrganization = exports['bob74_ipl']:GetFinanceOrganizationObject()

-- Setting the name parameters
FinanceOrganization.Name.Set("Seems legit Ltd", FinanceOrganization.Name.Style.normal, FinanceOrganization.Name.Colors.black, FinanceOrganization.Name.Fonts.font6)

-- Enabling the name to be able to see it
FinanceOrganization.Office.Enable(true)

end)

changing FinanceOrganization to FinanceOrganization1 did work since office1 is arcadius building.

source https://github.com/Bob74/bob74_ipl/wiki/Finance-&-Felony:-Organization

Cheers

benzon commented 2 years ago

This is not a bug, this is flawed code from your side :)

You need to do a check what office a person is in and what not.

sadoj-kuro commented 5 months ago

where and how