View Single Post
Silencer123
Veteran Member
Join Date: Jul 2006
Old 06-07-2009 , 13:34   Re: Changing clip and backpack ammo in Half-Life
Reply With Quote #6

Thanks for the offsets, but I can't get it to work...
Code:
#include <amxmodx> #include <hamsandwich> new const VERSION[] = "1.0"; public plugin_init() {     register_plugin("HL Unlimited Ammo", VERSION, "Silencer");     register_concmd("say ammo", "hlum_ammo"); } public hlum_ammo(id) {     client_print(id, print_chat, "Ammoes!1");     for(new i = 310; i <= 321; i++) {         ExecuteHam(Ham_Player_UpdateClientData, id, i, 250);     }     for(new i = 342; i <= 353; i++) {         ExecuteHam(Ham_Player_UpdateClientData, id, i, 250);     } }

Not even a merciless crash, as if nothing happened.
__________________
EAT YOUR VEGGIES
Silencer123 is offline