CreateWeapon: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 17: | Line 17: | ||
==Requirements== | ==Requirements== | ||
{{Requirements|1.3.0- | {{Requirements|n/a|1.3.0-9.04555|}} | ||
==See Also== | ==See Also== | ||
{{Client weapon creation functions}} | {{Client weapon creation functions}} | ||
[[ru:createWeapon]] | [[ru:createWeapon]] |
Revision as of 22:44, 10 September 2012
Creates a custom weapon that can fire bullets not related to player held weapons. Note: All weapon types does not work.
Syntax
weapon createWeapon ( string theType, float x, float y, float z )
Required Arguments
- theType: The weapon type such as M4.
- x: The x position to create the weapon.
- y: The y position to create the weapon.
- z: The z position to create the weapon.
Returns
Returns a custom weapon element type and creates a simulated weapon at that position.
Requirements
This template will be deleted.