Hi folks!
Can you guyz help me with this code please?
- White text
- Fuck the simon should be red
- How do i add deagle + he to the numbers?
- How do i make a script that remove the menu at new round?
- How do i make so only admins will be able to use "amx_fts"? :S
Please add me at steam if u can help me with more codes!!!.
Steamname:umadbro000
Thank you!
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <fun>
public plugin_init() {
register_plugin("Fuck_the_simon_Menu", "1.0", "AMXX COMUNITY")
new keys = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2
register_menucmd(register_menuid("Fuck The Simon"), keys, "giveWeapon")
register_clcmd("amx_fts", "showWeaponMenu")
}
public showWeaponMenu(id)
{
new menu[192]
new keys = MENU_KEY_0|MENU_KEY_1|MENU_KEY_2
format(menu, 191, "Fuck The Simon^n^n1. AK47^n2. M4A1^n3. AWP")
show_menu(id, keys, menu)
return PLUGIN_HANDLED
}
public giveWeapon(id, key)
{
if (key == 0)
{
give_item(id, "weapon_ak47")
} else if (key == 1) {
give_item(id, "weapon_m4a1")
} else if (key == 2) {
give_item(id, "weapon_awp")
} else if (key == 3) {
}
}
__________________