Jump to content
Sign in to follow this  
pclipse

Missing ; Problem

Recommended Posts

Hey guys,

I'm trying to add a Laser Designator to this Player. However. When I have this:

this addWeapon "Laserdesignator";

In the Initialization field. All works good. But there are no Laser Markers available. Because there are no batteries right?

So I did this:

this addWeapon "Laserdesignator"; addWeapon "Laserdesignator";

And When I press OK, I get this error: "Missing ;" wtf am I missing a semi-colon??

Thanks in advance,

PCLiPSE

Share this post


Link to post
Share on other sites
this addWeapon "Laserdesignator"; addWeapon "Laserdesignator";

And When I press OK, I get this error: "Missing ;" wtf am I missing a semi-colon??

You're missing another "this" before the second "addWeapon."

Share this post


Link to post
Share on other sites

Use:

this addWeapon "LaserDesignator"; this addMagazine "LaserBatteries"; 

If they start with Binoculars you'll want to remove those:

this removeWeapon "Binocular";

Share this post


Link to post
Share on other sites

rgr, thanks a lot guys :D will test it out now

---------- Post added at 05:22 PM ---------- Previous post was at 05:17 PM ----------

yay works!! Thanks a lot guys!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×