Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- float GetRange(int iWeaponID)
- {
- switch (iWeaponID)
- {
- case WEAPON_AK47:
- case WEAPON_AUG:
- case WEAPON_AWP:
- case WEAPON_FAMAS:
- case WEAPON_G3SG1:
- case WEAPON_GALIL:
- case WEAPON_M249:
- case WEAPON_M4A1:
- case WEAPON_SCOUT:
- case WEAPON_SG550:
- case WEAPON_SG552:
- return 8192.f;
- break;
- case WEAPON_DEAGLE:
- case WEAPON_ELITE:
- case WEAPON_FIVESEVEN:
- case WEAPON_GLOCK:
- case WEAPON_MAC10:
- case WEAPON_MP5NAVY:
- case WEAPON_P228:
- case WEAPON_P90:
- case WEAPON_TMP:
- case WEAPON_UMP45:
- case WEAPON_USP:
- return 4096.f;
- break;
- case WEAPON_M3:
- case WEAPON_XM1014:
- return 768.f;
- break;
- default:
- return 0.f;
- break;
- }
- return 0.f;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement