/*
/ Bu Eklenti !berk! Tarafından Kodlanmıştır
/ Paylaşılması , Kopyalanması Yasaktır!
/ Ucteli Ekleitn Yaptırmak Icin : 0530 044 64 78
/ Forum.WebDiyo.Com
*/
#include <amxmodx>
#include <hamsandwich>
#include <fakemeta>
#define MENUUSTTAG "TaveRna"
#define MENUALTTAG "\yT\d[\rR\d]\yG"
/*******************************************************/
new SM4A1[33]
#define M4A1ISIM1 "RedStar"
new const M4A1MODEL1[] = "models/taverna/m1.mdl"
#define M4A1ISIM2 "DeathLife"
new const M4A1MODEL2[] = "models/taverna/m2.mdl"
#define M4A1ISIM3 "Hyperbeast"
new const M4A1MODEL3[] = "models/taverna/m3.mdl"
#define M4A1ISIM4 "Asiimov"
new const M4A1MODEL4[] = "models/taverna/m4.mdl"
/*******************************************************/
new SAK47[33]
#define AK47ISIM1 "Astor"
new const AK47MODEL1[] = "models/taverna/ak1.mdl"
#define AK47ISIM2 "Purple"
new const AK47MODEL2[] = "models/taverna/ak2.mdl"
#define AK47ISIM3 "RedLion"
new const AK47MODEL3[] = "models/taverna/ak3.mdl"
#define AK47ISIM4 "FireRespect"
new const AK47MODEL4[] = "models/taverna/ak4.mdl"
/*******************************************************/
new SAWP[33]
#define AWPISIM1 "Dragon Lore"
new const AWPMODEL1[] = "models/taverna/awp1.mdl"
#define AWPISIM2 "Hyper Beast"
new const AWPMODEL2[] = "models/taverna/awp2.mdl"
#define AWPISIM3 "Oni"
new const AWPMODEL3[] = "models/taverna/awp3.mdl"
#define AWPISIM4 "Solucan"
new const AWPMODEL4[] = "models/taverna/awp4.mdl"
/*******************************************************/
new SDEAGLE[33]
#define DEAGLEISIM1 "Sport"
new const DEAGLEMODEL1[] = "models/taverna/dgl1.mdl"
#define DEAGLEISIM2 "Hypotonik"
new const DEAGLEMODEL2[] = "models/taverna/dgl2.mdl"
#define DEAGLEISIM3 "Mavi"
new const DEAGLEMODEL3[] = "models/taverna/dgl3.mdl"
#define DEAGLEISIM4 "Kursun"
new const DEAGLEMODEL4[] = "models/taverna/dgl4.mdl"
/*******************************************************/
new SGLOCK[33]
#define GLOCKISIM1 "Element"
new const GLOCKMODEL1[] = "models/taverna/gl1.mdl"
#define GLOCKISIM2 "Yeraltı"
new const GLOCKMODEL2[] = "models/taverna/gl2.mdl"
#define GLOCKISIM3 "Elma"
new const GLOCKMODEL3[] = "models/taverna/gl3.mdl"
/*******************************************************/
new SUSP[33]
#define USPISIM1 "Confirmed"
new const USPMODEL1[] = "models/taverna/us1.mdl"
#define USPISIM2 "Kursun"
new const USPMODEL2[] = "models/taverna/us2.mdl"
#define USPISIM3 "Orion"
new const USPMODEL3[] = "models/taverna/us3.mdl"
/*******************************************************/
new SBICAK[33],Secim[33]
#define BICAKISIM1 "Dark"
new const BICAKMODEL1[] = "models/taverna/Karambit/kar1.mdl"
#define BICAKISIM2 "Gold"
new const BICAKMODEL2[] = "models/taverna/Karambit/kar2.mdl"
#define BICAKISIM3 "Fade"
new const BICAKMODEL3[] = "models/taverna/Karambit/kar3.mdl"
#define BICAKISIM4 "Neon"
new const BICAKMODEL4[] = "models/taverna/Karambit/kar4.mdl"
#define BICAKISIM5 "Blue Night"
new const BICAKMODEL5[] = "models/taverna/Kelebek/kel1.mdl"
#define BICAKISIM6 "Gold Life"
new const BICAKMODEL6[] = "models/taverna/Kelebek/kel2.mdl"
#define BICAKISIM7 "Turk"
new const BICAKMODEL7[] = "models/taverna/Kelebek/kel3.mdl"
#define BICAKISIM8 "Fade Respect"
new const BICAKMODEL8[] = "models/taverna/Gut/gut1.mdl"
#define BICAKISIM9 "Tronik"
new const BICAKMODEL9[] = "models/taverna/Gut/gut2.mdl"
#define BICAKISIM10 "Katliam"
new const BICAKMODEL10[] = "models/taverna/Huntsman/hun1.mdl"
#define BICAKISIM11 "Dark Red"
new const BICAKMODEL11[] = "models/taverna/Huntsman/hun2.mdl"
#define BICAKISIM12 "Galaxy"
new const BICAKMODEL12[] = "models/taverna/Bayonet/bay1.mdl"
#define BICAKISIM13 "Dark Purple"
new const BICAKMODEL13[] = "models/taverna/Bayonet/bay2.mdl"
#define BICAKISIM14 "Yesil"
new const BICAKMODEL14[] = "models/taverna/Bayonet/bay3.mdl"
#define BICAKISIM15 "Lore"
new const BICAKMODEL15[] = "models/taverna/Bayonet/bay4.mdl"
#define BICAKISIM16 "AMD"
new const BICAKMODEL16[] = "models/taverna/Flip/fli1.mdl"
#define BICAKISIM17 "Dark Orange"
new const BICAKMODEL17[] = "models/taverna/Flip/fli2.mdl"
/*******************************************************/
new const m3[] = "models/csgomod_wd/default/csgo_v_m3.mdl"
new const xm1014[] = "models/csgomod_wd/default/csgo_v_xm1014.mdl"
new const knife[] = "models/csgomod_wd/default/csgo_v_knife.mdl"
new const fiveseven[] = "models/csgomod_wd/default/csgo_v_fiveseven.mdl"
new const p228[] = "models/csgomod_wd/default/csgo_v_p228.mdl"
new const elite[] = "models/csgomod_wd/default/csgo_v_elite.mdl"
new const usp[] = "models/csgomod_wd/default/csgo_v_usp.mdl"
new const deagle[] = "models/csgomod_wd/default/csgo_v_deagle.mdl"
new const tmp[] = "models/csgomod_wd/default/csgo_v_tmp.mdl"
new const mac10[] = "models/csgomod_wd/default/csgo_v_mac10.mdl"
new const ump45[] = "models/csgomod_wd/default/csgo_v_ump45.mdl"
new const mp5[] = "models/csgomod_wd/default/csgo_v_mp5.mdl"
new const p90[] = "models/csgomod_wd/default/csgo_v_p90.mdl"
new const ak47[] = "models/csgomod_wd/default/csgo_v_ak47.mdl"
new const m4a1[] = "models/csgomod_wd/default/csgo_v_m4a1.mdl"
new const sg552[] = "models/csgomod_wd/default/csgo_v_sg552.mdl"
new const aug[] = "models/csgomod_wd/default/csgo_v_aug.mdl"
new const famas[] = "models/csgomod_wd/default/csgo_v_famas.mdl"
new const galil[] = "models/csgomod_wd/default/csgo_v_galil.mdl"
new const awp[] = "models/csgomod_wd/default/csgo_v_awp.mdl"
new const scout[] = "models/csgomod_wd/default/csgo_v_scout.mdl"
new const m249[] = "models/csgomod_wd/default/csgo_v_m249.mdl"
new const he[] = "models/csgomod_wd/default/csgo_v_hegrenade.mdl"
new const smoke[] = "models/csgomod_wd/default/csgo_v_smokegrenade.mdl"
new const flash[] = "models/csgomod_wd/default/csgo_v_flashbang.mdl"
new const c4[] = "models/csgomod_wd/default/csgo_v_c4.mdl"
/*******************************************************/
public plugin_precache(){
precache_model(M4A1MODEL1)
precache_model(M4A1MODEL2)
precache_model(M4A1MODEL3)
precache_model(M4A1MODEL4)
precache_model(AK47MODEL1)
precache_model(AK47MODEL2)
precache_model(AK47MODEL3)
precache_model(AK47MODEL4)
precache_model(AWPMODEL1)
precache_model(AWPMODEL2)
precache_model(AWPMODEL3)
precache_model(AWPMODEL4)
precache_model(DEAGLEMODEL1)
precache_model(DEAGLEMODEL2)
precache_model(DEAGLEMODEL3)
precache_model(DEAGLEMODEL4)
precache_model(GLOCKMODEL1)
precache_model(GLOCKMODEL2)
precache_model(GLOCKMODEL3)
precache_model(USPMODEL1)
precache_model(USPMODEL2)
precache_model(USPMODEL3)
precache_model(BICAKMODEL1)
precache_model(BICAKMODEL2)
precache_model(BICAKMODEL3)
precache_model(BICAKMODEL4)
precache_model(BICAKMODEL5)
precache_model(BICAKMODEL6)
precache_model(BICAKMODEL7)
precache_model(BICAKMODEL8)
precache_model(BICAKMODEL9)
precache_model(BICAKMODEL10)
precache_model(BICAKMODEL11)
precache_model(BICAKMODEL12)
precache_model(BICAKMODEL13)
precache_model(BICAKMODEL14)
precache_model(BICAKMODEL15)
precache_model(BICAKMODEL16)
precache_model(BICAKMODEL17)
precache_model(m3)
precache_model(xm1014)
precache_model(knife)
precache_model(fiveseven)
precache_model(p228)
precache_model(elite)
precache_model(usp)
precache_model(deagle)
precache_model(tmp)
precache_model(mac10)
precache_model(ump45)
precache_model(mp5)
precache_model(p90)
precache_model(ak47)
precache_model(m4a1)
precache_model(sg552)
precache_model(aug)
precache_model(famas)
precache_model(galil)
precache_model(awp)
precache_model(scout)
precache_model(m249)
precache_model(he)
precache_model(smoke)
precache_model(flash)
precache_model(c4)
}
public plugin_init() {
register_plugin
(
"Skin Menu",
"1.0",
"Berk"
)
register_clcmd("radio2","beAnamenu")
register_clcmd("nightvision","beBicakmenu")
register_event("CurWeapon", "beWM", "be", "1=1")
}
public client_connect(id){
SM4A1[id] = 1
SAK47[id] = 1
SAWP[id] = 1
SDEAGLE[id] = 1
SGLOCK[id] = 1
SUSP[id] = 1
SBICAK[id] = 1
}
public beWM(id) {
new silahID = get_user_weapon(id);
switch(silahID){
case CSW_M4A1 : {
switch(SM4A1[id]){
case 1 : {
set_pev(id,pev_viewmodel2,M4A1MODEL1)
}
case 2 : {
set_pev(id,pev_viewmodel2,M4A1MODEL2)
}
case 3 : {
set_pev(id,pev_viewmodel2,M4A1MODEL3)
}
case 4 : {
set_pev(id,pev_viewmodel2,M4A1MODEL4)
}
}
}
case CSW_GLOCK18 : {
switch(SGLOCK[id]){
case 1 : {
set_pev(id,pev_viewmodel2,GLOCKMODEL1)
}
case 2 : {
set_pev(id,pev_viewmodel2,GLOCKMODEL2)
}
case 3 : {
set_pev(id,pev_viewmodel2,GLOCKMODEL3)
}
}
}
case CSW_AK47 : {
switch(SAK47[id]){
case 1 : {
set_pev(id,pev_viewmodel2,AK47MODEL1)
}
case 2 : {
set_pev(id,pev_viewmodel2,AK47MODEL2)
}
case 3 : {
set_pev(id,pev_viewmodel2,AK47MODEL3)
}
case 4 : {
set_pev(id,pev_viewmodel2,AK47MODEL4)
}
}
}
case CSW_AWP : {
switch(SAWP[id]){
case 1 : {
set_pev(id,pev_viewmodel2,AWPMODEL1)
}
case 2 : {
set_pev(id,pev_viewmodel2,AWPMODEL2)
}
case 3 : {
set_pev(id,pev_viewmodel2,AWPMODEL3)
}
case 4 : {
set_pev(id,pev_viewmodel2,AWPMODEL4)
}
}
}
case CSW_DEAGLE : {
switch(SDEAGLE[id]){
case 1 : {
set_pev(id,pev_viewmodel2,DEAGLEMODEL1)
}
case 2 : {
set_pev(id,pev_viewmodel2,DEAGLEMODEL2)
}
case 3 : {
set_pev(id,pev_viewmodel2,DEAGLEMODEL3)
}
case 4 : {
set_pev(id,pev_viewmodel2,DEAGLEMODEL4)
}
}
}
case CSW_USP : {
switch(SUSP[id]){
case 1 : {
set_pev(id,pev_viewmodel2,USPMODEL1)
}
case 2 : {
set_pev(id,pev_viewmodel2,USPMODEL2)
}
case 3 : {
set_pev(id,pev_viewmodel2,USPMODEL3)
}
}
}
case CSW_KNIFE : {
switch(SBICAK[id]){
case 1 : {
set_pev(id,pev_viewmodel2,BICAKMODEL1)
}
case 2 : {
set_pev(id,pev_viewmodel2,BICAKMODEL2)
}
case 3 : {
set_pev(id,pev_viewmodel2,BICAKMODEL3)
}
case 4 : {
set_pev(id,pev_viewmodel2,BICAKMODEL4)
}
case 5 : {
set_pev(id,pev_viewmodel2,BICAKMODEL5)
}
case 6 : {
set_pev(id,pev_viewmodel2,BICAKMODEL6)
}
case 7 : {
set_pev(id,pev_viewmodel2,BICAKMODEL7)
}
case 8 : {
set_pev(id,pev_viewmodel2,BICAKMODEL8)
}
case 9 : {
set_pev(id,pev_viewmodel2,BICAKMODEL9)
}
case 10 : {
set_pev(id,pev_viewmodel2,BICAKMODEL10)
}
case 11 : {
set_pev(id,pev_viewmodel2,BICAKMODEL11)
}
case 12 : {
set_pev(id,pev_viewmodel2,BICAKMODEL12)
}
case 13 : {
set_pev(id,pev_viewmodel2,BICAKMODEL13)
}
case 14 : {
set_pev(id,pev_viewmodel2,BICAKMODEL14)
}
case 15 : {
set_pev(id,pev_viewmodel2,BICAKMODEL15)
}
case 16 : {
set_pev(id,pev_viewmodel2,BICAKMODEL16)
}
case 17 : {
set_pev(id,pev_viewmodel2,BICAKMODEL17)
}
}
}
case CSW_M3 : {
set_pev(id,pev_viewmodel2,m3)
}
case CSW_XM1014 : {
set_pev(id,pev_viewmodel2,xm1014)
}
case CSW_FIVESEVEN : {
set_pev(id,pev_viewmodel2,fiveseven)
}
case CSW_P228 : {
set_pev(id,pev_viewmodel2,p228)
}
case CSW_ELITE : {
set_pev(id,pev_viewmodel2,elite)
}
case CSW_TMP : {
set_pev(id,pev_viewmodel2,tmp)
}
case CSW_MAC10 : {
set_pev(id,pev_viewmodel2,mac10)
}
case CSW_UMP45 : {
set_pev(id, pev_viewmodel2, ump45)
}
case CSW_MP5NAVY : {
set_pev(id,pev_viewmodel2,mp5)
}
case CSW_P90 : {
set_pev(id,pev_viewmodel2,p90)
}
case CSW_SG552 : {
set_pev(id,pev_viewmodel2,sg552)
}
case CSW_AUG : {
set_pev(id,pev_viewmodel2,aug)
}
case CSW_FAMAS : {
set_pev(id,pev_viewmodel2,famas)
}
case CSW_GALIL : {
set_pev(id,pev_viewmodel2,galil)
}
case CSW_SCOUT : {
set_pev(id,pev_viewmodel2,scout)
}
case CSW_M249 : {
set_pev(id,pev_viewmodel2,m249)
}
case CSW_SMOKEGRENADE : {
set_pev(id, pev_viewmodel2, smoke)
}
case CSW_HEGRENADE : {
set_pev(id,pev_viewmodel2,he)
}
case CSW_FLASHBANG : {
set_pev(id,pev_viewmodel2,flash)
}
case CSW_C4 : {
set_pev(id,pev_viewmodel2,c4)
}
}
}
public beBicakmenu(id) {
new menuz;
static amenu[512]
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rBicak Menu",MENUUSTTAG)
menuz = menu_create(amenu,"beBicakmenu_devam")
formatex(amenu,charsmax(amenu),"%s \d# \yKARAMBIT \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"1")
formatex(amenu,charsmax(amenu),"%s \d# \yKELEBEK \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"2")
formatex(amenu,charsmax(amenu),"%s \d# \yGUT \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"3")
formatex(amenu,charsmax(amenu),"%s \d# \yHUNTSMAN \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"4")
formatex(amenu,charsmax(amenu),"%s \d# \yBAYONET \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"5")
formatex(amenu,charsmax(amenu),"%s \d# \yFLIP \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"6")
menu_setprop(menuz,MPROP_EXITNAME,"\rCikis")
menu_setprop(menuz,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menuz,0)
return PLUGIN_HANDLED;
}
public beBicakmenu_devam(id,menu,item){
if(item == MENU_EXIT){
menu_destroy(menu)
return PLUGIN_HANDLED
}
new access,callback,data[6],iname[64]
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
new key = str_to_num(data)
Secim[id] = key
beBicakMenuSec(id)
menu_destroy(menu)
return PLUGIN_HANDLED;
}
public beBicakMenuSec(id) {
new menuz;
static amenu[512]
switch(Secim[id]){
case 1 : {
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rKARAMBIT Menu",MENUUSTTAG)
}
case 2 : {
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rKELEBEK Menu",MENUUSTTAG)
}
case 3 : {
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rGUT Menu",MENUUSTTAG)
}
case 4 : {
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rHUNTSMAN Menu",MENUUSTTAG)
}
case 5 : {
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rBAYONET Menu",MENUUSTTAG)
}
case 6 : {
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rFLIP Menu",MENUUSTTAG)
}
}
menuz = menu_create(amenu,"beBicakMenuSec_devam")
switch(Secim[id]){
case 1 : {
if(SBICAK[id] == 1){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM1)
menu_additem(menuz,amenu,"1")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM1)
menu_additem(menuz,amenu,"1")
}
if(SBICAK[id] == 2){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM2)
menu_additem(menuz,amenu,"2")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM2)
menu_additem(menuz,amenu,"2")
}
}
case 2 : {
if(SBICAK[id] == 3){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM3)
menu_additem(menuz,amenu,"3")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM3)
menu_additem(menuz,amenu,"3")
}
if(SBICAK[id] == 4){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM4)
menu_additem(menuz,amenu,"4")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM4)
menu_additem(menuz,amenu,"4")
}
}
case 3 : {
if(SBICAK[id] == 5){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM5)
menu_additem(menuz,amenu,"5")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM5)
menu_additem(menuz,amenu,"5")
}
if(SBICAK[id] == 6){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM6)
menu_additem(menuz,amenu,"6")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM6)
menu_additem(menuz,amenu,"6")
}
}
case 4 : {
if(SBICAK[id] == 7){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM7)
menu_additem(menuz,amenu,"7")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM7)
menu_additem(menuz,amenu,"7")
}
if(SBICAK[id] == 8){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM8)
menu_additem(menuz,amenu,"8")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM8)
menu_additem(menuz,amenu,"8")
}
}
case 5 : {
if(SBICAK[id] == 9){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM9)
menu_additem(menuz,amenu,"9")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM9)
menu_additem(menuz,amenu,"9")
}
if(SBICAK[id] == 10){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM10)
menu_additem(menuz,amenu,"10")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM10)
menu_additem(menuz,amenu,"10")
}
}
case 6 : {
if(SBICAK[id] == 11){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM11)
menu_additem(menuz,amenu,"11")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM11)
menu_additem(menuz,amenu,"11")
}
if(SBICAK[id] == 12){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,BICAKISIM12)
menu_additem(menuz,amenu,"12")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,BICAKISIM12)
menu_additem(menuz,amenu,"12")
}
}
}
menu_setprop(menuz,MPROP_EXITNAME,"\rCikis")
menu_setprop(menuz,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menuz,0)
}
public beBicakMenuSec_devam(id,menu,item){
if(item == MENU_EXIT){
menu_destroy(menu)
return PLUGIN_HANDLED
}
new access,callback,data[6],iname[64]
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
new key = str_to_num(data)
SBICAK[id] = key
beWM(id)
menu_destroy(menu)
return PLUGIN_HANDLED;
}
public beAnamenu(id) {
new menuz;
static amenu[512]
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rSkin Menu",MENUUSTTAG)
menuz = menu_create(amenu,"beAnamenu_devam")
formatex(amenu,charsmax(amenu),"%s \d# \yM4A1 \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"1")
formatex(amenu,charsmax(amenu),"%s \d# \yAK47 \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"2")
formatex(amenu,charsmax(amenu),"%s \d# \yAWP \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"3")
formatex(amenu,charsmax(amenu),"%s \d# \yDEAGLE \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"4")
formatex(amenu,charsmax(amenu),"%s \d# \yGLOCK \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"5")
formatex(amenu,charsmax(amenu),"%s \d# \yUSP \rMenu",MENUALTTAG)
menu_additem(menuz,amenu,"6")
menu_setprop(menuz,MPROP_EXITNAME,"\rCikis")
menu_setprop(menuz,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menuz,0)
return PLUGIN_HANDLED;
}
public beAnamenu_devam(id,menu,item){
if(item == MENU_EXIT){
menu_destroy(menu)
return PLUGIN_HANDLED
}
new access,callback,data[6],iname[64]
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
new key = str_to_num(data)
switch(key){
case 1 : {
beM4A1Menu(id)
}
case 2 : {
beAK47Menu(id)
}
case 3 : {
beAWPMenu(id)
}
case 4 : {
beDEAGLEMenu(id)
}
case 5 : {
beGLOCKMenu(id)
}
case 6 : {
beUSPMenu(id)
}
}
menu_destroy(menu)
return PLUGIN_HANDLED;
}
public beM4A1Menu(id) {
new menuz;
static amenu[512]
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rM4A1 Menu",MENUUSTTAG)
menuz = menu_create(amenu,"beM4A1Menu_devam")
if(SM4A1[id] == 1){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,M4A1ISIM1)
menu_additem(menuz,amenu,"1")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,M4A1ISIM1)
menu_additem(menuz,amenu,"1")
}
if(SM4A1[id] == 2){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,M4A1ISIM2)
menu_additem(menuz,amenu,"2")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,M4A1ISIM2)
menu_additem(menuz,amenu,"2")
}
if(SM4A1[id] == 3){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,M4A1ISIM3)
menu_additem(menuz,amenu,"3")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,M4A1ISIM3)
menu_additem(menuz,amenu,"3")
}
menu_setprop(menuz,MPROP_EXITNAME,"\rCikis")
menu_setprop(menuz,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menuz,0)
}
public beM4A1Menu_devam(id,menu,item){
if(item == MENU_EXIT){
menu_destroy(menu)
return PLUGIN_HANDLED
}
new access,callback,data[6],iname[64]
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
new key = str_to_num(data)
SM4A1[id] = key
beWM(id)
menu_destroy(menu)
return PLUGIN_HANDLED;
}
public beAK47Menu(id) {
new menuz;
static amenu[512]
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rAK47 Menu",MENUUSTTAG)
menuz = menu_create(amenu,"beAK47Menu_devam")
if(SAK47[id] == 1){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,AK47ISIM1)
menu_additem(menuz,amenu,"1")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,AK47ISIM1)
menu_additem(menuz,amenu,"1")
}
if(SAK47[id] == 2){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,AK47ISIM2)
menu_additem(menuz,amenu,"2")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,AK47ISIM2)
menu_additem(menuz,amenu,"2")
}
if(SAK47[id] == 3){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,AK47ISIM3)
menu_additem(menuz,amenu,"3")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,AK47ISIM3)
menu_additem(menuz,amenu,"3")
}
menu_setprop(menuz,MPROP_EXITNAME,"\rCikis")
menu_setprop(menuz,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menuz,0)
}
public beAK47Menu_devam(id,menu,item){
if(item == MENU_EXIT){
menu_destroy(menu)
return PLUGIN_HANDLED
}
new access,callback,data[6],iname[64]
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
new key = str_to_num(data)
SAK47[id] = key
beWM(id)
menu_destroy(menu)
return PLUGIN_HANDLED;
}
public beAWPMenu(id) {
new menuz;
static amenu[512]
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rAWP Menu",MENUUSTTAG)
menuz = menu_create(amenu,"beAWPMenu_devam")
if(SAWP[id] == 1){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,AWPISIM1)
menu_additem(menuz,amenu,"1")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,AWPISIM1)
menu_additem(menuz,amenu,"1")
}
if(SAWP[id] == 2){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,AWPISIM2)
menu_additem(menuz,amenu,"2")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,AWPISIM2)
menu_additem(menuz,amenu,"2")
}
if(SAWP[id] == 3){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,AWPISIM3)
menu_additem(menuz,amenu,"3")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,AWPISIM3)
menu_additem(menuz,amenu,"3")
}
menu_setprop(menuz,MPROP_EXITNAME,"\rCikis")
menu_setprop(menuz,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menuz,0)
}
public beAWPMenu_devam(id,menu,item){
if(item == MENU_EXIT){
menu_destroy(menu)
return PLUGIN_HANDLED
}
new access,callback,data[6],iname[64]
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
new key = str_to_num(data)
SAWP[id] = key
beWM(id)
menu_destroy(menu)
return PLUGIN_HANDLED;
}
public beDEAGLEMenu(id) {
new menuz;
static amenu[512]
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rDEAGLE Menu",MENUUSTTAG)
menuz = menu_create(amenu,"beDEAGLEMenu_devam")
if(SDEAGLE[id] == 1){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,DEAGLEISIM1)
menu_additem(menuz,amenu,"1")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,DEAGLEISIM1)
menu_additem(menuz,amenu,"1")
}
if(SDEAGLE[id] == 2){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,DEAGLEISIM2)
menu_additem(menuz,amenu,"2")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,DEAGLEISIM2)
menu_additem(menuz,amenu,"2")
}
if(SDEAGLE[id] == 3){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,DEAGLEISIM3)
menu_additem(menuz,amenu,"3")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,DEAGLEISIM3)
menu_additem(menuz,amenu,"3")
}
menu_setprop(menuz,MPROP_EXITNAME,"\rCikis")
menu_setprop(menuz,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menuz,0)
}
public beDEAGLEMenu_devam(id,menu,item){
if(item == MENU_EXIT){
menu_destroy(menu)
return PLUGIN_HANDLED
}
new access,callback,data[6],iname[64]
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
new key = str_to_num(data)
SDEAGLE[id] = key
beWM(id)
menu_destroy(menu)
return PLUGIN_HANDLED;
}
public beGLOCKMenu(id) {
new menuz;
static amenu[512]
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rGLOCK Menu",MENUUSTTAG)
menuz = menu_create(amenu,"beGLOCKMenu_devam")
if(SGLOCK[id] == 1){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,GLOCKISIM1)
menu_additem(menuz,amenu,"1")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,GLOCKISIM1)
menu_additem(menuz,amenu,"1")
}
if(SGLOCK[id] == 2){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,GLOCKISIM2)
menu_additem(menuz,amenu,"2")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,GLOCKISIM2)
menu_additem(menuz,amenu,"2")
}
if(SGLOCK[id] == 3){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,GLOCKISIM3)
menu_additem(menuz,amenu,"3")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,GLOCKISIM3)
menu_additem(menuz,amenu,"3")
}
menu_setprop(menuz,MPROP_EXITNAME,"\rCikis")
menu_setprop(menuz,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menuz,0)
}
public beGLOCKMenu_devam(id,menu,item){
if(item == MENU_EXIT){
menu_destroy(menu)
return PLUGIN_HANDLED
}
new access,callback,data[6],iname[64]
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
new key = str_to_num(data)
SGLOCK[id] = key
beWM(id)
menu_destroy(menu)
return PLUGIN_HANDLED;
}
public beUSPMenu(id) {
new menuz;
static amenu[512]
formatex(amenu,charsmax(amenu),"\r |> \y%s \r<| \yGaming \d# \rUSP Menu",MENUUSTTAG)
menuz = menu_create(amenu,"beUSPMenu_devam")
if(SUSP[id] == 1){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,USPISIM1)
menu_additem(menuz,amenu,"1")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,USPISIM1)
menu_additem(menuz,amenu,"1")
}
if(SUSP[id] == 2){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,USPISIM2)
menu_additem(menuz,amenu,"2")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,USPISIM2)
menu_additem(menuz,amenu,"2")
}
if(SUSP[id] == 3){
formatex(amenu,charsmax(amenu),"%s \d# \y%s \d# \rAktif",MENUALTTAG,USPISIM3)
menu_additem(menuz,amenu,"3")
}
else{
formatex(amenu,charsmax(amenu),"%s \d# \y%s",MENUALTTAG,USPISIM3)
menu_additem(menuz,amenu,"3")
}
menu_setprop(menuz,MPROP_EXITNAME,"\rCikis")
menu_setprop(menuz,MPROP_EXIT,MEXIT_ALL)
menu_display(id,menuz,0)
}
public beUSPMenu_devam(id,menu,item){
if(item == MENU_EXIT){
menu_destroy(menu)
return PLUGIN_HANDLED
}
new access,callback,data[6],iname[64]
menu_item_getinfo(menu,item,access,data,5,iname,63,callback)
new key = str_to_num(data)
SUSP[id] = key
beWM(id)
menu_destroy(menu)
return PLUGIN_HANDLED;
}