Merhaba Arkadaşlar Ben Sizden CT Silah Menüdeki Silahların Hemen Gelmesini İstiyorum.
Menü ;
PHP- Kodu:
AWP
M4A1
AK47
MP5
Deagle
Sizden Bunların Gelmesini İstiyorum...
![]()
Konu Nobb tarafından (15-07-13 Saat 20:24 ) değiştirilmiştir.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
En İyi Konularım:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
color="#ff0000">CSPLAGUE.com
"Türkiye'nin ilk ve tek Zombi Mod V2.0 Server!"
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
__________________________________________________
Güncel IP:
95.173.173.180:27015
__________________________________________________
Tamamda O Plugini Verdiğim Silahlara Göre Ayarlarmısın?
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
En İyi Konularım:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
color="#ff0000">CSPLAGUE.com
Bi saniye bende tam kodlamaya başlamıştım. Siz menüde sadece bu silahlar mı görünsün istiyorsunuz yoksa el başlayınca CT'ye bütün bu silahlar mı gelsin istiyorsunuz?
uhcakiPÖzel Plugin Kodlanır!
Steam_ID = STEAM_0:0:54912140
Steam_Nick = Ragnar Lothbrok
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
tamam. bir saniye yapıyorum.
"Türkiye'nin ilk ve tek Zombi Mod V2.0 Server!"
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
__________________________________________________
Güncel IP:
95.173.173.180:27015
__________________________________________________
Doğan ct ye;
M4A1
AK47
AWP
MP5
DEAGLE
verir.
Not: Menü yoktur, silahlar doğan ct ye direk verilir.
uhcakiPÖzel Plugin Kodlanır!
Steam_ID = STEAM_0:0:54912140
Steam_Nick = Ragnar Lothbrok
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Cvar kodları;
PHP- Kodu:
CT_silahlari_enabled "1" / "0" yaparsanız hiç bir silahı CT ye vermiyecektir.
CT_ak47 "1" / "0" yaparsanız AK47yi CT ye vermiyecektir.
CT_m4a1 "1" / "0" yaparsanız M4A1i CT ye vermiyecektir.
CT_awp "1" / "0" yaparsanız AWPyi CT ye vermiyecektir.
CT_deagle "1" / "0" yaparsanız DEAGLEyi CT ye vermiyecektir.
CT_mp5 "1" / "0" yaparsanız MP5i CT ye vermiyecektir.
Konu xRteam45 tarafından (15-07-13 Saat 20:07 ) değiştirilmiştir.
"Türkiye'nin ilk ve tek Zombi Mod V2.0 Server!"
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
__________________________________________________
Güncel IP:
95.173.173.180:27015
__________________________________________________
"Türkiye'nin ilk ve tek Zombi Mod V2.0 Server!"
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
__________________________________________________
Güncel IP:
95.173.173.180:27015
__________________________________________________
Peki Şöyle Yapabilirmiyiz?
Bir Oyuncu CT'ye Atıldığında Benim Verdiğim Menüyü Açılmasını İstiyorum.
Sma'da Say'a /silahmenu Yazınca Açılıyor.
Silah Menü Gelmesini İstiyorum Yani Otomatik.
SMA ;
Ve Bir Kere Alabilsin.Bu CT Menüde Öyle Değilde.Hem Deagle Otomatik Gelmesini İstiyorum.Menüde Olmasın...PHP- Kodu:
#include <amxmodx>
#include <cstrike>
#include <fun>
#define PLUGIN "CT Silah Menu"
#define VERSION "1.0"
#define AUTHOR "Schwertle"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /silahmenu","SilhMenu")
register_clcmd("say !silahmenu","SilhMenu")
register_clcmd("say .silahmenu","SilhMenu")
register_clcmd("say_team /silahmenu","SilhMenu")
register_clcmd("say_team !silahmenu","SilhMenu")
register_clcmd("say_team .silahmenu","SilhMenu")
}
public SilhMenu(id) {
if (is_user_alive(id))
{
new menu, Menuz[512]
formatex(Menuz, charsmax(Menuz), "\rSilah-Menu \w| \yCSPLAGUE")
menu = menu_create(Menuz, "MenuSilah")
formatex(Menuz, charsmax(Menuz), "\wAWP")
menu_additem(menu, Menuz, "1")
formatex(Menuz, charsmax(Menuz), "\wM4A1 \d(Colt)")
menu_additem(menu, Menuz, "2")
formatex(Menuz, charsmax(Menuz), "\wAk47 \d(Keles)")
menu_additem(menu, Menuz, "3")
formatex(Menuz, charsmax(Menuz), "\wM5")
menu_additem(menu, Menuz, "4")
formatex(Menuz, charsmax(Menuz), "\wDeagle")
menu_additem(menu, Menuz, "5")
formatex(Menuz, charsmax(Menuz), "\yIleri")
menu_setprop(menu,MPROP_NEXTNAME ,Menuz)
formatex(Menuz, charsmax(Menuz), "\yGeri")
menu_setprop(menu,MPROP_BACKNAME ,Menuz)
menu_setprop(menu,MPROP_EXIT, MEXIT_ALL)
formatex(Menuz, charsmax(Menuz), "\rKapat")
menu_setprop(menu,MPROP_EXITNAME,Menuz)
menu_display(id, menu, 0)
} else {
chat_color(id, "!g[ Csplague.com ] !yOluyken !tSilah Menu !yAcamazsiniz!")
}
return PLUGIN_HANDLED;
}
public MenuSilah(id, menu, item) {
if (item == MENU_EXIT)
{
menu_destroy(menu)
return PLUGIN_CONTINUE
}
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)
if(get_user_team(id) == 2)
{
switch(key)
{
case 1:
{
give_item(id, "weapon_awp");
cs_set_user_bpammo( id, CSW_AWP, 30 );
chat_color(id, "!g[ Csplague.com ] !yBasariyla !tAWP !yaldin.")
}
case 2:
{
give_item(id, "weapon_m4a1");
cs_set_user_bpammo( id, CSW_M4A1, 90 );
chat_color(id, "!g[ Csplague.com ] !yBasariyla !tM4A1 !yaldin.")
}
case 3:
{
give_item(id, "weapon_ak47");
cs_set_user_bpammo( id, CSW_AK47, 90 );
chat_color(id, "!g[ Csplague.com ] !yBasariyla !tAK47 !yaldin.")
}
case 4:
{
give_item(id, "weapon_mp5navy");
cs_set_user_bpammo( id, CSW_MP5NAVY, 120 );
chat_color(id, "!g[ Csplague.com ] !yBasariyla !tMP5 !yaldin.")
}
case 5:
{
give_item(id, "weapon_deagle");
cs_set_user_bpammo( id, CSW_DEAGLE, 35 );
chat_color(id, "!g[ Csplague.com ] !yBasariyla !tDeagle !yaldin.")
}
}
} else {
chat_color(id, "!g[ Csplague.com ] !ySadece Counter-Teroristler !tSilah Menu !ykullanabilir!")
}
return PLUGIN_HANDLED
}
//Renk Kodu {
stock chat_color(const id, const input[], any:...)
{
new count = 1, players[32]
static msg[191]
vformat(msg, 190, input, 3)
replace_all(msg, 190, "!g", "^4")
replace_all(msg, 190, "!y", "^1")
replace_all(msg, 190, "!t", "^3")
replace_all(msg, 190, "!team2", "^0")
if (id) players[0] = id; else get_players(players, count, "ch")
{
for (new i = 0; i < count; i++)
{
if (is_user_connected(players[i]))
{
message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])
write_byte(players[i]);
write_string(msg);
message_end();
}
}
}
}
Konu Nobb tarafından (15-07-13 Saat 20:19 ) değiştirilmiştir.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
PHP- Kodu:
İletişim => cebinihat@hotmail.com
En İyi Konularım:
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
color="#ff0000">CSPLAGUE.com
PHP- Kodu:
#include <hamsandwich>
#include <cstrike>
public public_init() {
RegisterHam(Ham_Spawn, "player", "fwHamPlayerSpawnPost", 1)
}
public fwHamPlayerSpawnPost(id) {
if ( cs_get_user_team(id) = CS_TEAM_CT) {
Silhmenu(id)
}
}
Konu Pikachu tarafından (15-07-13 Saat 20:30 ) değiştirilmiştir.
uhcakiPÖzel Plugin Kodlanır!
Steam_ID = STEAM_0:0:54912140
Steam_Nick = Ragnar Lothbrok
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.