Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
justenzy

Please help on this bit of code!

Recommended Posts

Been working on some code recently, but i get a long error and have no idea what is wrong. Please help, i have tried many different variations. THANK YOU.

if (( WeaponCargo unitbackpack player)  == ["hgun_P07_F"] ) then {
hint "booooo"
} else {
hint "ahhhh"
}

Share this post


Link to post
Share on other sites

Not seeing any semi-colons at the end of the statements between the braces, try adding some.

Share this post


Link to post
Share on other sites

if ("hgun_P07_F" in WeaponCargo unitbackpack player  ) then {   hint "booooo"  } else {   hint "ahhhh"  }

it will need to run in a loop of some sort so it keep monitoring the status

Share this post


Link to post
Share on other sites
Sign in to follow this  

×