Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Inventory::GetAmmoCount Method
Syntax
C++
int GetAmmoCount(IFunctionHandler* pH, const char* ammoName);
Parameters 
Description 
const char* ammoName 
Ammunition name. 

!

Inventory.GetAmmoCount(ammoName)

!  

! Gets the amount of the specified ammunition name. 

 

Copyright (c) 2012. All rights reserved.