Hello , today I share you a leeched option.
lets go
what to add in the menu
Sorry if my english is bad I'm French
Have a nice day
lets go
Code:
GPA(attachment)
{
weapon=self getcurrentweapon();
self takeweapon(weapon);
self giveWeapon(weapon+attachment);
self switchToWeapon(weapon+attachment);
self giveMaxAmmo(weapon+attachment);
self iPrintln("^6"+attachment+" Given");
}
what to add in the menu
Code:
self add_menu("weaponM5", "Weapons", "Attachments", "Admin");
self add_option("weaponM5", "Silencer", ::GPA, "+silencer");
self add_option("weaponM5", "FMJ", ::GPA, "+fmj");
self add_option("weaponM5", "Grip", ::GPA, "+grip");
self add_option("weaponM5", "Barrel", ::GPA, "+extbarrel");
self add_option("weaponM5", "Sway", ::GPA, "+swayreduc");
self add_option("weaponM5", "Reflex", ::GPA, "+reflex");
self add_option("weaponM5", "Zoom", ::GPA, "+vzoom");
self add_option("weaponM5", "Range Finder", ::GPA, "+rangefinder");
self add_option("weaponM5", "Acog", ::GPA, "+acog");
self add_option("weaponM5", "Dual Band", ::GPA, "+ir");
self add_option("weaponM5", "Knife", ::GPA, "+tacknife");
self add_option("weaponM5", "Grenade Launcher", ::GPA, "+gl");
Sorry if my english is bad I'm French
Have a nice day