Quote:
Originally Posted by Jelle
Is there a way to add like 2 bullets in the current mag of the current gun in use? I mean maybe a native like cs_set_user_bpammo().
|
This should work, I don't know if you're trying to use a say command or what not.
PHP Code:
new userammo = cs_get_user_bpammo( id, CSW_WEAPONNAME )
cs_set_user_bpammo( id, CSW_WEAPONNAME, userammo + 2 )
Of course change the "CSW_WEAPONNAME" to "CSW_AK47" or whatever weapon it is.
__________________