Code:
/*AMX MOD X SCRIPT
*
*Batman Weapons
*
*Gives all rifles
*
*Version 1.1
*
*Created by IseeOWNEDpeople AKA JoeCaprini
*/
#include <amxmodx>
#include <amxmisc>
#include <fun>
public plugin_init(){
register_plugin("Batman Weapons","1.1","IseeOWNEDpeople")
register_concmd("amx_batman","brucewayne",ADMIN_IMMUNITY,"1 = on 2 = off")
register_cvar("amx_batman","1")
}
public brucewayne(id, level, cid){
if (!cmd_access(id,level,cid,2))
return PLUGIN_HANDLED
if (get_cvar_num("amx_batman")!=0){
give_item(id,"weapon_awp")
give_item(id,"weapon_m4a1")
give_item(id,"weapon_ak47")
give_item(id,"weapon_aug")
give_item(id,"weapon_sg552")
give_item(id,"weapon_mp5navy")
give_item(id,"weapon_xm1014")
give_item(id,"weapon_elite")
give_item(id,"weapon_deagle")
give_item(id,"weapon_flashbang")
give_item(id,"weapon_hegrenade")
give_item(id,"weapon_smokegrenade")
}
return PLUGIN_HANDLED
}
There ya go, done properly.
[edit\]I should warn you though, this still will not work.
You have named the client command and the cvar as the same thing and I believe you will have to choose who you are doing this to

[/edit]
The plugin written by you above (AWP War) will most likely be accessable by everyone and not just admins as you made the same mistake in that plugin.
If you cannot spot the difference on your own just ask and I will point it out (but give it a good decent shot, it shouldn't be too dificult)