Ok heres my updated script..
Code:
#include <amxmodx>
#include <cstrike>
#include <fun>
public plugin_init() {
register_plugin("Give-Weapon","1.00","FoX")
register_clcmd("amx_giveweapon","giveweapon",ADMIN_LEVEL_A,"- Gives client a weapon")
register_clcmd("amx_giveammo","giveammo",ADMIN_LEVEL_A,"- Gives client ammo")
}
public giveweapon(id) {
give_item(id,"weapon_m4a1");
return PLUGIN_HANDLED
}
public giveammo(id) {
cs_set_weapon_ammo(id,90)
return PLUGIN_CONTINUE
}
Yet when I go in and test it, it says "Unknown command: amx_giveammo"
__________________