Code:
/*
AMXx Give 2.0
By: ReK_
Enable the "give" console command on any mod, without enabling sv_cheats.
You can now specify which player to give the item.
Fun module required
CVARs:
- amx_give_enable 0/1 - 1 = Enabled, 0 = Disabled
Usage:
Use amx_giveself to give it to yourself.
Type "amx_giveto name x" into the console, replacing name with the recipient's name and x with item_x, weapon_x or ammo_x
These commands are only availiable to users with the "s" flag, ie admin level g.
*/
#include <amxmodx>
#include <amxmisc>
#include <fun>