7 {
9 {
11 }
12 else
13 {
14 float ammoWeight;
15 string ammoTypeName;
17 if (ammoTypeName)
19 else
20 ErrorEx(
"empty 'spawnPileType' for bullet type:" + bulletType);
21 if (ammoWeight)
23 return ammoWeight;
24 }
25 }
static ref map< string, float > m_AmmoWeightByBulletType
proto native float ConfigGetFloat(string path)
Get float value from config on path.
proto bool ConfigGetText(string path, out string value)
Get string value from config on path.
proto native CGame GetGame()