#qb-weaponhud
1 messages · Page 1 of 1 (latest)
where do I check that?
What do you mean?
Like where do I check what weapon the client has
Im sorry im kinda confused im new to coding
this is all I see in the client
would it be WEAPON_UNARMED?
Yup, the check is already in there for you.
so now what do I do with that
Send a NUI message to toggle the UI visibility off.
I've given you all the information you need. I really don't like spoon-feeding, it means you don't actually learn anything.
ok thanks anyway ill try to do it
You'll need to add an event listener in the js for it, as it doesn't seem to have one.
You're getting there. Obviously all that is going to do so far is print in the console.
Yea I would have the replace the things
how would I toggle the event to turn the ui off
I think thats all I need now
what about this
Yea i tried it didnt work