Difference between revisions of "SET AMMO IN CLIP"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: SET_AMMO_IN_CLIP Number of parameters: 3 Parameter 1 integer player index Parameter 2 integer weapon type Parameter 3 integer amount Result: Sets ammo in the given weapon to the given amo...)
 
Line 1: Line 1:
 
SET_AMMO_IN_CLIP
 
SET_AMMO_IN_CLIP
  
Number of parameters: 3
+
{{Native
Parameter 1 integer player index
+
|np=3
Parameter 2 integer weapon type
+
|p1t=integer
Parameter 3 integer amount
+
|p1d=player index
Result:
+
|p2t=integer
 +
|p2d=weapon type
 +
|p3t=integer
 +
|p3d=amount
 +
|r=0
 +
}}
 +
 
 
Sets ammo in the given weapon to the given amount
 
Sets ammo in the given weapon to the given amount

Revision as of 03:33, 8 March 2009

SET_AMMO_IN_CLIP

SET_AMMO_IN_CLIP
Number of parameters: 3
Parameter #TypeDescription
1.integerplayer index
2.integerweapon type
3.integeramount
Return value:
TypeDescription
None

Sets ammo in the given weapon to the given amount