u mean i am right how i wrote it but it needs to be lower cased??
ok it worked but i ve also have had a problem with getting one loose indentation can u help me figure it ou becuase i ve been try really hard since i did get it from 2 to 1 loose indentation.
Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
#include <amxconst>
// PLUGIN[]="WeaponGiver"
// AUTHOR[]="Garrett"
// VERSION[]="0.01"
public plugin_init()
{
register_plugin("WeaponGiver", "0.01", "Garrett")
register_concmd("amx_wg", "cmd_wg", ADMIN_SLAY, "Gives weapon!!")
}
public cmd_wg(id, level, cid)
{
if (!cmd_access(id, level, cid, 2))
return PLUGIN_HANDLED
give_item(id, "weapon_m4a1")
{ return PLUGIN_HANDLED
}
}