Ok, I updated my code, Still get errors.
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#define PLUGIN "Client Gunz"
#define VERSION "1.0"
#define AUTHOR "CodeBreaker"
public give_items(id,level,cid)
{
if(!cmd_access(id,level,cid,2) {
client_print(id,print_chat,"[AMXX] No access!")
return PLUGIN_HANDLED
}
give_item(id,"weapon_m4a1")
give_item(id,"weapon_m4a1")
give_item(id,"weapon_m4a1")
give_item(id,"weapon_m4a1")
client_print(id,print_center,"[AMXX] Weapon Added!")
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_weapons","give_items","ADMIN_KICK"," : Gives you some weapons")
}
Thanks for the fast help.
__________________