OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra on 04 Feb 2003, 21:47:15
-
How do you make so if anyone types a specific type of ammo in the "[]" box he will get that ammo of that kind.
-
I only have CWC, so... What is the [] box you are refering to?
-
like
[M16mag] exec "GimmeMyAmmo.sqs"
-
you probably would like to make something like:
[M16Mag,_player] exec "gimmeammo.sqs"
and in the script use the AddMagazine function
-
yes I know, but the problem is that the user of the scriptÂ's (official script) able to use all sorts of ammo. But how do I know witchÂ's ammo thatÂ's what?
Sorry for the Noob behaviour.