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.
__________________