Jump to content
Sign in to follow this  
hellstorm77

Class base ammo box

Recommended Posts

Has anyone made a class base ammo box?

What i mean is only AT can see AT rockets, Machine Gunners can only see Machine Guns

Share this post


Link to post
Share on other sites

I did try to make one but it didn't seem to work out right i'm kind of new to scripting

Share this post


Link to post
Share on other sites

wondering if someone could help me with an error im getting

My code

[format["ammobox_%1",side player]] call mps_ammobox;
["ammobox_2"] call mps_ammobox;
["ammobox_3"] call mps_ammobox;
["ARTYAMMO"] call mps_ammobox;

the error

Error in expression <[format["ammobox_%1",side player]] call mps_ammobox;

["ammobox_2"] call mps_ammo>

Error position: <mps_ammobox;

["ammobox_2"] call mps_ammo>

Error Undefined variable in expression: mps_ammobox

Share this post


Link to post
Share on other sites

We need to know what the mps_ammobox function looks like. .

---------- Post added at 13:04 ---------- Previous post was at 13:03 ----------

looks like you didn't define it

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  

×