qbcore-framework / qb-management

Management menu for jobs & gangs
GNU General Public License v3.0
33 stars 167 forks source link

Update sv_boss.lua #73

Closed JustCarry closed 11 months ago

JustCarry commented 2 years ago

Instead of 0, I believe it way better to use false where it could actually indicate of non-existence of the account as it may have 0 balance in the account (and account may be existed)

Now it gonna clarify that the account is not existed with the false return value.

OfficialRDB commented 1 year ago

do we have to do this for all the or 0 parts ?

JustCarry commented 1 year ago

do we have to do this for all the or 0 parts ?

Do you mean using or 0 to avoid the issue of attempt to compare number with boolean?

OfficialRDB commented 1 year ago

do we have to do this for all the or 0 parts ?

Do you mean using or 0 to avoid the issue of attempt to compare number with boolean?

Yeah or is the gang part not being used like that ?

github-actions[bot] commented 11 months ago

This PR has had 60 days of inactivity & will close within 7 days