Snardman 0 Posted November 3, 2002 I get this error when i add a code similiar to this into an ammo box or unit(in init field of course) This addWeaponCargo ["Glock", 10], This addMagazineCargo ["GlockMag", 40], and i get this error Missing ( essentally it wants a ( at every , in the code... showed up with the newest patch.. pls help? Share this post Link to post Share on other sites
edc 0 Posted November 3, 2002 </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">This addWeaponCargo ["Glock", 10], This addMagazineCargo ["GlockMag", 40], <span id='postcolor'> THe commas should be semicolons(;). Share this post Link to post Share on other sites
Lt_Damage 0 Posted November 3, 2002 Yes, so it should be: </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE"> this addMagazineCargo ["GlockMag", 40];this addWeaponCargo ["Glock", 10]; <span id='postcolor'> Share this post Link to post Share on other sites
Snardman 0 Posted November 4, 2002 lol ok thanks. wonder why it works in all the old maps Share this post Link to post Share on other sites
blackdog~ 0 Posted November 4, 2002 I think that classifies it as a string, and it wants you to put another bracket at the end... heh I don't know though. Share this post Link to post Share on other sites