![]() |
|
plguını jaıle ozel yapma - Printable Version +- CSPLague (https://www.csplague.com) +-- Forum: CS 1.6 Plugin (Eklenti) Bölümü (https://www.csplague.com/forumdisplay.php?fid=6) +--- Forum: [İSTEK] Cs 1.6 Plugin İstek Bölümü (https://www.csplague.com/forumdisplay.php?fid=80) +--- Thread: plguını jaıle ozel yapma (/showthread.php?tid=11483) |
plguını jaıle ozel yapma - beoujolf - 24-02-15 acaba Schwertle plugınını jaıle ozel yaparmısınız ıste plugın yanı sadece jaıl maplarında gelsın sılah #include <amxmodx> #include <amxmisc> #include <hamsandwich> #include <cstrike> #include <fun> #define PLUGIN "SilahVer" #define VERSION "1.0" #define AUTHOR "Schwertle" new sch_silahver new SCH_AK47, SCH_AUG, SCH_AWP, SCH_DEAGLE, SCH_ELITE, SCH_FAMAS, SCH_FIVESEVEN, SCH_FLASHBANG, SCH_UMP45, SCH_USP new SCH_G3SG1, SCH_GALIL, SCH_GLOCK18, SCH_HEGRENADE, SCH_M249, SCH_M3, SCH_M4A1, SCH_TMP new SCH_MAC10, SCH_MP5NAVY, SCH_P228, SCH_P90, SCH_SCOUT, SCH_SG550, SCH_SG552, SCH_SMOKEGRENADE, SCH_XM1014 public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR); RegisterHam(Ham_Spawn, "player", "dogma"); register_clcmd("www.csplague.com", "silah"); sch_silahver = register_cvar("sch_silahver","1"); SCH_AK47 = register_cvar("sch_ak47","1"); SCH_AUG = register_cvar("sch_aug","0"); SCH_AWP = register_cvar("sch_awp","1"); SCH_DEAGLE = register_cvar("sch_deagle","1"); SCH_ELITE = register_cvar("sch_elite","0"); SCH_FAMAS = register_cvar("sch_famas","0"); SCH_FIVESEVEN = register_cvar("sch_fiveseven","0"); SCH_FLASHBANG = register_cvar("sch_flashbang","0"); SCH_UMP45 = register_cvar("sch_ump45","0"); SCH_USP = register_cvar("sch_usp","0"); SCH_G3SG1 = register_cvar("sch_g3sg1","0"); SCH_GALIL = register_cvar("sch_galil","0"); SCH_GLOCK18 = register_cvar("sch_glock","0"); SCH_HEGRENADE = register_cvar("sch_hegrenade","1"); SCH_M249 = register_cvar("sch_m249","1"); SCH_M3 = register_cvar("sch_m3","0"); SCH_M4A1 = register_cvar("sch_m4a1","1"); SCH_TMP = register_cvar("sch_tmp","0"); SCH_MAC10 = register_cvar("sch_mac10","0"); SCH_MP5NAVY = register_cvar("sch_mp5navy","0"); SCH_P228 = register_cvar("sch_p228","0"); SCH_P90 = register_cvar("sch_p90","0"); SCH_SCOUT = register_cvar("sch_scout","0"); SCH_SG550 = register_cvar("sch_sg550","0"); SCH_SG552 = register_cvar("sch_sg552","0"); SCH_SMOKEGRENADE = register_cvar("sch_smokegrenade","0"); SCH_XM1014 = register_cvar("sch_xm1014","0"); new configsDir[64] get_configsdir(configsDir, 63) server_cmd("exec %s/csp-silahver.cfg", configsDir) } public dogma (id) { console_cmd(id,"www.csplague.com"); } public silah(id) { if (is_user_connected(id) && is_user_alive(id) && get_user_team(id) == 2 && get_pcvar_num(sch_silahver) == 1) { //+Ustundeki Silahlar; strip_user_weapons(id); //+Bicak; give_item(id, "weapon_knife"); if (get_pcvar_num(SCH_AK47) == 1) { give_item(id, "weapon_ak47"); cs_set_user_bpammo( id, CSW_AK47, 90 ); //* } if (get_pcvar_num(SCH_AUG) == 1) { give_item(id, "weapon_aug"); cs_set_user_bpammo( id, CSW_AUG, 90 ); //* } if (get_pcvar_num(SCH_AWP) == 1) { give_item(id, "weapon_awp"); cs_set_user_bpammo( id, CSW_AWP, 30 ); //* } if (get_pcvar_num(SCH_DEAGLE) == 1) { give_item(id, "weapon_deagle"); cs_set_user_bpammo( id, CSW_DEAGLE, 35 ); //* } if (get_pcvar_num(SCH_ELITE) == 1) { give_item(id, "weapon_elite") cs_set_user_bpammo( id, CSW_ELITE, 120 ); //* } if (get_pcvar_num(SCH_FAMAS) == 1) { give_item(id, "weapon_famas"); cs_set_user_bpammo( id, CSW_FAMAS, 90 ); //* } if (get_pcvar_num(SCH_FIVESEVEN) == 1) { give_item(id, "weapon_fiveseven"); cs_set_user_bpammo( id, CSW_FIVESEVEN, 100 ); //* } if (get_pcvar_num(SCH_FLASHBANG) == 1) { give_item(id, "weapon_flashbang"); give_item(id, "weapon_flashbang"); } if (get_pcvar_num(SCH_G3SG1) == 1) { give_item(id, "weapon_g3sg1"); cs_set_user_bpammo( id, CSW_G3SG1, 90 ); //* } if (get_pcvar_num(SCH_GALIL) == 1) { give_item(id, "weapon_galil"); cs_set_user_bpammo( id, CSW_GALIL, 90 ); //* } if (get_pcvar_num(SCH_GLOCK18) == 1) { give_item(id, "weapon_glock18"); cs_set_user_bpammo( id, CSW_GLOCK18, 120 ); //* } if (get_pcvar_num(SCH_HEGRENADE) == 1) { give_item(id, "weapon_hegrenade"); } if (get_pcvar_num(SCH_M249) == 1) { give_item(id, "weapon_m249"); cs_set_user_bpammo( id, CSW_M249, 200 ); //* } if (get_pcvar_num(SCH_M3) == 1) { give_item(id, "weapon_m3"); cs_set_user_bpammo( id, CSW_M3, 90 ); //* } if (get_pcvar_num(SCH_M4A1) == 1) { give_item(id, "weapon_m4a1"); cs_set_user_bpammo( id, CSW_M4A1, 90 ); //* } if (get_pcvar_num(SCH_MAC10) == 1) { give_item(id, "weapon_mac10"); cs_set_user_bpammo( id, CSW_MAC10, 100 ); //* } if (get_pcvar_num(SCH_MP5NAVY) == 1) { give_item(id, "weapon_mp5navy"); cs_set_user_bpammo( id, CSW_MP5NAVY, 120 ); //* } if (get_pcvar_num(SCH_P228) == 1) { give_item(id, "weapon_p228"); cs_set_user_bpammo( id, CSW_P228, 90 ); //* } if (get_pcvar_num(SCH_P90) == 1) { give_item(id, "weapon_p90"); cs_set_user_bpammo( id, CSW_P90, 100 ); //* } if (get_pcvar_num(SCH_SCOUT) == 1) { give_item(id, "weapon_scout"); cs_set_user_bpammo( id, CSW_SCOUT, 90 ); //* } if (get_pcvar_num(SCH_SG550) == 1) { give_item(id, "weapon_sg550"); cs_set_user_bpammo( id, CSW_SG550, 90 ); //* } if (get_pcvar_num(SCH_SG552) == 1) { give_item(id, "weapon_sg552"); cs_set_user_bpammo( id, CSW_SG552, 90 ); //* } if (get_pcvar_num(SCH_SMOKEGRENADE) == 1) { give_item(id, "weapon_smokegrenade"); } if (get_pcvar_num(SCH_TMP) == 1) { give_item(id, "weapon_tmp"); cs_set_user_bpammo( id, CSW_TMP, 120 ); //* } if (get_pcvar_num(SCH_UMP45) == 1) { give_item(id, "weapon_ump45"); cs_set_user_bpammo( id, CSW_UMP45, 100 ); //* } if (get_pcvar_num(SCH_USP) == 1) { give_item(id, "weapon_usp"); cs_set_user_bpammo( id, CSW_USP, 100 ); //* } if (get_pcvar_num(SCH_XM1014) == 1) { give_item(id, "weapon_xm1014"); cs_set_user_bpammo( id, CSW_XM1014, 72 ); //* } set_hudmessage(0, 255, 0, 0.5, 0.17, 0, 6.0, 12.0) show_hudmessage(id, "Ekipmanlar^nBASARIYLA ALINDI!") } if (is_user_connected(id) && is_user_alive(id) && get_user_team(id) == 2 && get_pcvar_num(sch_silahver) == 0) { } } Cevap: plguını jaıle ozel yapma - vitality5 - 24-02-15 bunu dene PHP Code: #include <amxmodx>Cevap: plguını jaıle ozel yapma - vitality5 - 24-02-15 yukarıdakini değilde bunu kullan Cevap: plguını jaıle ozel yapma - hazardouszm - 09-03-15 Tsk Cevap: plguını jaıle ozel yapma - kedusa - 10-04-15 hepsini php kodu icinde paylasirsan okumasi daha kolay olur |