Est SetAmmo
From EventScripts Community Encyclopedia
Syntax: est_SetAmmo <identifier> <weapon slot/name> <amount>Note: Command parameters are described inside the
< and > characters. Optional parameters are contained within [ and ] characters.
[edit] DescriptionSets the ammo (not the clip) of the weapon specified trough slot/name to the amount. Use the identifier to set the player selection. [edit] Parameters
[edit] Exampleevent weapon_fire { // give the deagle weapon of the player 50 ammo es est_SetAmmo event_var(userid) weapon_deagle 50 // give the rifle in slot3 50 ammo es est_SetAmmo event_var(userid) 3 50 } [edit] Notes
[edit] See Also |
