I found one problem, One error now
Code:
/home/users/amxmodx/tmp3/phpeBNxUi.sma(11) : error 001: expected token: ")", but found "{"
Here is my code
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,1) {
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!")
return PLUGIN_HANDLED
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_weapons","give_items",ADMIN_KICK," : Gives you some weapons")
}
__________________