arkadaslar sılah menusu gelıyor arkasından hemen ctmenu geldıgı ıcın gıdıyor sorun nedır
Temamızın yeni versiyonuna geçilmiştir.
Görüş & Önerileriniz için [email protected] adresine mail atabilirsiniz.
Reklam gösterimini engelleyici yazılım kullandığınızı görüyoruz.
Sitemizin ayakta kalıp sizlere hizmet edebilmek için en büyük gelir kaynağı sayfamızda gösterilen reklamlardır.
Reklam gösterimde bizim sayfamıza ayrıcalık tanıyarak ayakta kalmamıza destek olmak ister misiniz ?
Konu
Merhaba. Onu engelleyecek bir fikir gelmedi aklıma fakat saydan /ctsilah yazdığında menunun tekrar açılmasını sağladım
Kod:
/ctsilah
G G <3
Yalniz biz ct geçtiğimiz gibi ciksa?
Öylede çıkıyor fakat onu engelleyebilirmiyim bilmiyorum menu geliyor doğduğunda fakat eğer giderse tekrar ctsilah yazıp girebilir menüye
berk kardeşim sorun ctmenü ve sma nin cakismasi ile oluyor CTMENÜ ' ye gömün onu sorun cozulecektir
Satılık Domain Listesi İcin Tıklayınız
My10.Net
Turkiye.pw
My10.Site
Enhit.Site
Ts3de.com
Sunucum.Online
Klan.Site
Reklam.in.Net
Haber.in.Net
Ts3de.Online
Serveri.Online
Csde.Online
CounterMerkezi.Net
Jailclan.Online
Proclan.Online
My10.Net
Turkiye.pw
My10.Site
Enhit.Site
Ts3de.com
Sunucum.Online
Klan.Site
Reklam.in.Net
Haber.in.Net
Ts3de.Online
Serveri.Online
Csde.Online
CounterMerkezi.Net
Jailclan.Online
Proclan.Online
Ata abim ctmenu oytun 2019un modeli
kardeşim aslında ctmenu gelişmiş var. oyt ' nin kini kullanman saçma olmus . webdiyo platformunda bile Sma 'lar yer almakta
Satılık Domain Listesi İcin Tıklayınız
My10.Net
Turkiye.pw
My10.Site
Enhit.Site
Ts3de.com
Sunucum.Online
Klan.Site
Reklam.in.Net
Haber.in.Net
Ts3de.Online
Serveri.Online
Csde.Online
CounterMerkezi.Net
Jailclan.Online
Proclan.Online
My10.Net
Turkiye.pw
My10.Site
Enhit.Site
Ts3de.com
Sunucum.Online
Klan.Site
Reklam.in.Net
Haber.in.Net
Ts3de.Online
Serveri.Online
Csde.Online
CounterMerkezi.Net
Jailclan.Online
Proclan.Online
3 saniyelik set_task bu sorunu çözecektir . Yani oyuncu doğduktan 3 saniye sonra silah menü gelecek .
Ya da ctmenu'yu atarsan oyuncu doğduğu gibi ctmenu gelmesini engelleyebiliriz .
Ya da ctmenu'yu atarsan oyuncu doğduğu gibi ctmenu gelmesini engelleyebiliriz .
Kod:
/*
*
*
*
* Plugin: CT SilahMenu
* By: Yunap.
*
*
*
*/
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fun>
public plugin_init()
{
register_plugin("SilahMenusu","1.0","Yunap.")
RegisterHam(Ham_Spawn, "player", "silahver", 1)
}
/*============================================================
CT Silah Menu
============================================================*/
public silahver(id){
set_task(3.0,"silahmenu",id)
}
public silahmenu(id)
{
if (get_user_team(id) == 2 && is_user_alive(id))
{
new menu = menu_create("\wSilah Menusu \d[Yunap.]","silahinmenusu1")
menu_additem(menu, "\wM4A1 / AK47 / AWP / M249 / DEAGLE", "1", 0);
menu_additem(menu, "\wSG552 / FAMAS / AWP / M249 / DEAGLE", "2", 0);
menu_additem(menu, "\wAK47 / SG552 / AWP / M249 / USP", "3", 0);
menu_additem(menu, "\wFAMAS / MP5 / AWP / M249 / GLOCK", "4", 0);
menu_additem(menu, "\wGALIL / M3 / AWP / M249 / BERETTA\dx2", "5", 0);
menu_additem(menu, "\wAUG / AK47 / AWP / M249 / FIVE SEVEN", "6", 0);
menu_additem(menu, "\wMP5 / M4A1 / AWP / M249 / USP", "7", 0);
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);
}
}
public silahinmenusu1(id,menu,item)
{
if( item == MENU_EXIT )
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}
new data[6], iName[64]
new access, callback
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
new key = str_to_num(data)
switch(key)
{
case 1: {
strip_user_weapons(id)
give_item(id, "weapon_m4a1")
give_item(id, "weapon_knife")
give_item(id, "weapon_ak47")
give_item(id, "weapon_awp")
give_item(id, "weapon_m249")
give_item(id, "weapon_deagle")
cs_set_user_bpammo(id, CSW_M4A1, 120)
cs_set_user_bpammo(id, CSW_AK47, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_DEAGLE, 90)
}
case 2: {
strip_user_weapons(id)
give_item(id, "weapon_sg552")
give_item(id, "weapon_famas")
give_item(id, "weapon_awp")
give_item(id, "weapon_deagle")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_SG552, 120)
cs_set_user_bpammo(id, CSW_FAMAS, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_DEAGLE, 90)
give_item(id, "weapon_knife")
}
case 3: {
strip_user_weapons(id)
give_item(id, "weapon_ak47")
give_item(id, "weapon_sg552")
give_item(id, "weapon_awp")
give_item(id, "weapon_usp")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_AK47, 120)
cs_set_user_bpammo(id, CSW_SG552, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_USP, 120)
give_item(id, "weapon_knife")
}
case 4: {
strip_user_weapons(id)
give_item(id, "weapon_famas")
give_item(id, "weapon_mp5navy")
give_item(id, "weapon_awp")
give_item(id, "weapon_glock")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_FAMAS, 120)
cs_set_user_bpammo(id, CSW_MP5NAVY, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_GLOCK18, 120)
give_item(id, "weapon_knife")
}
case 5: {
strip_user_weapons(id)
give_item(id, "weapon_galil")
give_item(id, "weapon_m3")
give_item(id, "weapon_awp")
give_item(id, "weapon_elite")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_GALIL, 90)
cs_set_user_bpammo(id, CSW_M3, 40)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_ELITE, 150)
give_item(id, "weapon_knife")
}
case 6: {
strip_user_weapons(id)
give_item(id, "weapon_aug")
give_item(id, "weapon_ak47")
give_item(id, "weapon_awp")
give_item(id, "weapon_fiveseven")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_AUG, 120)
cs_set_user_bpammo(id, CSW_AK47, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_FIVESEVEN, 120)
give_item(id, "weapon_knife")
}
case 7: {
strip_user_weapons(id)
give_item(id, "weapon_mp5navy")
give_item(id, "weapon_m4a1")
give_item(id, "weapon_awp")
give_item(id, "weapon_usp")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_MP5NAVY, 120)
cs_set_user_bpammo(id, CSW_M4A1, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_USP, 112)
give_item(id, "weapon_knife")
}
}
menu_destroy(menu);
return PLUGIN_HANDLED;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/
BUNU 2 SN VEYA 1 SN YAPSAK ?
Bir şey fark etmez . O zaman da Ctmenu direk çıkacağı için yine aynı şey olur . Ama istersen yine de 1 saniye olarak dene ;
Kod:
/*
*
*
*
* Plugin: CT SilahMenu
* By: Yunap.
*
*
*
*/
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fun>
public plugin_init()
{
register_plugin("SilahMenusu","1.0","Yunap.")
RegisterHam(Ham_Spawn, "player", "silahver", 1)
}
/*============================================================
CT Silah Menu
============================================================*/
public silahver(id){
set_task(3.0,"silahmenu",id)
}
public silahmenu(id)
{
if (get_user_team(id) == 2 && is_user_alive(id))
{
new menu = menu_create("\wSilah Menusu \d[Yunap.]","silahinmenusu1")
menu_additem(menu, "\wM4A1 / AK47 / AWP / M249 / DEAGLE", "1", 0);
menu_additem(menu, "\wSG552 / FAMAS / AWP / M249 / DEAGLE", "2", 0);
menu_additem(menu, "\wAK47 / SG552 / AWP / M249 / USP", "3", 0);
menu_additem(menu, "\wFAMAS / MP5 / AWP / M249 / GLOCK", "4", 0);
menu_additem(menu, "\wGALIL / M3 / AWP / M249 / BERETTA\dx2", "5", 0);
menu_additem(menu, "\wAUG / AK47 / AWP / M249 / FIVE SEVEN", "6", 0);
menu_additem(menu, "\wMP5 / M4A1 / AWP / M249 / USP", "7", 0);
menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
menu_display(id, menu, 0);
}
}
public silahinmenusu1(id,menu,item)
{
if( item == MENU_EXIT )
{
menu_destroy(menu);
return PLUGIN_HANDLED;
}
new data[6], iName[64]
new access, callback
menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
new key = str_to_num(data)
switch(key)
{
case 1: {
strip_user_weapons(id)
give_item(id, "weapon_m4a1")
give_item(id, "weapon_knife")
give_item(id, "weapon_ak47")
give_item(id, "weapon_awp")
give_item(id, "weapon_m249")
give_item(id, "weapon_deagle")
cs_set_user_bpammo(id, CSW_M4A1, 120)
cs_set_user_bpammo(id, CSW_AK47, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_DEAGLE, 90)
}
case 2: {
strip_user_weapons(id)
give_item(id, "weapon_sg552")
give_item(id, "weapon_famas")
give_item(id, "weapon_awp")
give_item(id, "weapon_deagle")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_SG552, 120)
cs_set_user_bpammo(id, CSW_FAMAS, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_DEAGLE, 90)
give_item(id, "weapon_knife")
}
case 3: {
strip_user_weapons(id)
give_item(id, "weapon_ak47")
give_item(id, "weapon_sg552")
give_item(id, "weapon_awp")
give_item(id, "weapon_usp")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_AK47, 120)
cs_set_user_bpammo(id, CSW_SG552, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_USP, 120)
give_item(id, "weapon_knife")
}
case 4: {
strip_user_weapons(id)
give_item(id, "weapon_famas")
give_item(id, "weapon_mp5navy")
give_item(id, "weapon_awp")
give_item(id, "weapon_glock")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_FAMAS, 120)
cs_set_user_bpammo(id, CSW_MP5NAVY, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_GLOCK18, 120)
give_item(id, "weapon_knife")
}
case 5: {
strip_user_weapons(id)
give_item(id, "weapon_galil")
give_item(id, "weapon_m3")
give_item(id, "weapon_awp")
give_item(id, "weapon_elite")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_GALIL, 90)
cs_set_user_bpammo(id, CSW_M3, 40)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_ELITE, 150)
give_item(id, "weapon_knife")
}
case 6: {
strip_user_weapons(id)
give_item(id, "weapon_aug")
give_item(id, "weapon_ak47")
give_item(id, "weapon_awp")
give_item(id, "weapon_fiveseven")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_AUG, 120)
cs_set_user_bpammo(id, CSW_AK47, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_FIVESEVEN, 120)
give_item(id, "weapon_knife")
}
case 7: {
strip_user_weapons(id)
give_item(id, "weapon_mp5navy")
give_item(id, "weapon_m4a1")
give_item(id, "weapon_awp")
give_item(id, "weapon_usp")
give_item(id, "weapon_m249")
cs_set_user_bpammo(id, CSW_MP5NAVY, 120)
cs_set_user_bpammo(id, CSW_M4A1, 120)
cs_set_user_bpammo(id, CSW_AWP, 40)
cs_set_user_bpammo(id, CSW_M249, 300)
cs_set_user_bpammo(id, CSW_USP, 112)
give_item(id, "weapon_knife")
}
}
menu_destroy(menu);
return PLUGIN_HANDLED;
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
*/
Konu ile Alakalı Benzer Konular | |||||
Konular | Yazar | Yorumlar | Okunma | Son Yorum | |
Saydan silah alma | berk10 | 6 | 321 |
20-09-2019, Saat: 20:46 Son Yorum: Aconyonn |
|
Cs 1.6 : CS - GO Silah Menu Plugini | drunkxxl | 4 | 476 |
26-08-2019, Saat: 17:13 Son Yorum: Aconyonn |
|
Oto Silah Atma İstek | MertS. | 11 | 670 |
16-01-2019, Saat: 17:08 Son Yorum: Kalipso22 |
|
sılah ınceleme | WX''Timer | 4 | 398 |
17-12-2018, Saat: 16:00 Son Yorum: Kalipso22 |
|
Crosshair Menusu | .CrosS* | 10 | 665 |
26-11-2018, Saat: 23:54 Son Yorum: MawiLarq |
Konuyu Okuyanlar: 1 Ziyaretçi