Author: Spooner
Author Website:

Requirements: No addons required

Version: 0.1.0

Short description:
Date: 2007-11-21 20:21
Submitted by: Spooner


Comments: (0)
Rating:



 



SPON getWeaponType
by
Spooner


Description:
Works out the type of a weapon, based on its name ("M9" -> PISTOL, "M16A2" -> RIFLE, etc).

Well, this function works fine for BIS weapons, but I'm not sure of its "correctness" with non-BIS weapons (It depends on inheritance, so slightly altered weapons are likely to work fine, but completely new types of weapons could give faulty or "TYPE_UNKNOWN" responses). Hmm...I'm sure Mandoble can tear it to shreds


Version:
v0.1.0
First release at OFPEC.


Forum topic:
- OFPEC.com




Download from FTP #1:
SPON getWeaponType
Download from FTP #2:
SPON getWeaponType
Download from FTP #3:
Size : 1 MB   Downloaded : 358 times     Report broken download link



Tags: No tags