Can somebody help me how to make a plugin called Weapon Menu. amx_weaponmenu. (in console too).
It would be just like cl_clcmdmenu but with another name. Access Flag "T"
This is what i got in clcmds.ini
Client Commands Menu: ; < description > < command > < flags > < access level >
"
"Godmode" "amx_godmode #%userid%" "bd" "u"
"Noclip" "amx_noclip #%userid%" "bd" "u"
"Heal for 1 HP" "amx_heal #%userid% 1" "bd" "u"
"Heal for 10 HP" "amx_heal #%userid% 10" "bd" "u"
"Give Awp" "amx_weapon #%userid% 48" "bd" "u"
"Give Deagle" "amx_weapon #%useid% 14" "bd" "u"
"Give M4a1" "amx_weapon #%userid% 43" "bd" "u"
"Give Ak47" "amx_weapon #%userid% 42" "bd" "u"
"Revive" "amx_revive #%userid%" "bd" "u"
"Revive All" "amx_revive @all" "bd" "u"
"
I want the amx_weaponmenu to work the same way, adding commands like "Give M4a1" "amx_weapon #%userid% 43" "bd" "t"
I've never coded amx plugins before, But i hope somebody can help me to get thru this.
Ps. It can't have "Admin tomi gave weapon m4a1 to tomi" text.