Argwm asked for a simple weapon spawner. This code is also an edited version of a part of the Design Your Own Mission code.
Important! When you are using version 1.0, you have to type "ammo". If you are using version 1.1, you have to type "weapon". Somebody requested it because "ammo" was used by another mod. If it doesn't work the first time, then type "ammo" or "weapon" again. Scroll through the weapons by Y and N, and select it by pressing SPACE (standard controls). You can choose everything from a pistol to a rocketlauncher and from a granate to flowers.
Installation
First you have to install CLEO. You can download it here. Also install the gxthook: download gxthook.cleo (you can also download it here, on the right) and put that in the cleo folder. Then make a folder called "CLEO_TEXT". There are 2 files you need to move in the package. First there is a .cs file, you have to put that in the cleo map (for example: cruise). Then there is a .fxt file, you have to put that in the CLEO_TEXT folder (for example: cruise.fxt).
Feedback
Did you find any bugs? Do you have requests yourself? Do you have other feedback? Please post in this topic. Feedback is appreciated!