Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
SetAmmoCount
Syntax
C++
int SetAmmoCount(IFunctionHandler * pH, const char * name, int amount);
Parameters 
Description 
const char * name 
Ammunition name. 
int amount 
Amount of the ammunition. 

Syntax: Vehicle.SetAmmoCount( const char *name, int amount ) 

Sets the amount of the specified ammunition. 

 

Copyright (c) 2012. All rights reserved.