Discord sunucumuz açılmıştır, hepinizi bekleriz

https://discord.gg/43gGDQe6tS

modelleme konusu

CSDurağı panel kullanımı hakkında bilgiler, merak ettikleriniz, takıldığınız yerleri burada sorabilirsiniz

Moderatör: Moderatörler

Kullanıcı avatarı

Konu Sahibi
StVaveyla
Mesajlar: 391
Kayıt: Cmt Tem 15, 2017 7:11 pm
Konum: İstanbul
Clan İsmi: TEAMRUBYGG

modelleme konusu

Mesaj gönderen StVaveyla »

noeldayi yazdı: Sal Nis 03, 2018 6:56 pm

Kod: Tümünü seç

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <hamsandwich>

#define PLUGIN "Silah Menusu"
#define VERSION "1.0"
#define AUTHOR "vaveylaSS"
#define swnick "'esL"

new const Awp1Model[66] = "models/silahmenu/v_ak47fireserphent.mdl";
new const Awp2Model[66] = "models/silahmenu/v_awpdragonlore.mdl";
new const Awp3Model[66] = "models/silahmenu/v_m4a1howl.mdl";
new const Awp4Model[66] = "models/silahmenu/v_gammadopplerbayonet.mdl";
new const Awp5Model[66] = "models/silahmenu/v_gammadopplerkarambit.mdl";


new bool: Awp1[33];
new bool: Awp2[33];
new bool: Awp3[33];
new bool: Awp4[33];
new bool: Awp5[33];
new bool: AwpKitle[33];


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_clcmd("say /silahmenusu","Silah Menusu")
	register_event("CurWeapon", "CurentWeapon", "be", "1=1");
}

public Menu(id) {
	new menu = menu_create("\d[\r'esL\y|\risim\d] \r// \wSilah Menusu \r\\ ^n\d // cs188.csduragi.com // \r- \r\\ \d esl.tsklan.com \r//", "menu_handler")
	
	menu_additem(menu, "\d['esL] \w-- \rAWP Dragon Lore", "1", 0);
	menu_additem(menu, "\d['esL] \w-- \rAK47 Fire Serphent", "2");
	menu_additem(menu, "\d['esL] \w-- \rM4A1 Howl", "3", 0);
	menu_additem(menu, "\d['esL] \w-- \rBayonet Gamma Doppler", "4", 0);
	menu_additem(menu, "\d['esL] \w-- \rKarambit Gamma Doppler ", "5", 0);
	
	menu_setprop(menu,MPROP_NEXTNAME,"\yIleri")
	menu_setprop(menu,MPROP_BACKNAME,"\yGeri")
	menu_setprop(menu,MPROP_EXITNAME,"\yCIKIS");
	menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
	menu_display(id, menu, 0);
	return PLUGIN_CONTINUE
}
public menu_handler(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);
	new adminismi[32]
	get_user_name(id,adminismi,31)
	
	switch(key)
	{
		case 1: {
			AwpKitle[id] = true;
			Awp1[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nAWP [ Dragon Lore ] Sectiniz",swnick)
		}   
		case 2: {
			AwpKitle[id] = true;
			Awp2[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nAK47 [ Fire Serphent ] Sectiniz",swnick)
		}
		case 3: {
			AwpKitle[id] = true;
			Awp3[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nM4A1 [ Howl] Sectiniz",swnick)
		}
		case 4: {
			AwpKitle[id] = true;
			Awp4[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nBayonet [ Gamma Doppler ] Sectiniz",swnick)
		}
		case 5: {
			Awp5[id] = true;
			AwpKitle[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nKarambit [ Gamma Doppler ] Sectiniz",swnick)
		}
	}
	
	menu_destroy(menu);
	return PLUGIN_HANDLED;
} 
public oyuncu_dogunca(id) 
{
	if(is_user_alive(id))
	{
		AwpKitle[id]= false;
		
		Awp1[id] = false;
		Awp2[id] = false;
		Awp3[id] = false;
		Awp4[id] = false;
		Awp5[id] = false;
	}
}

public plugin_precache() 
{
	precache_model(Awp2Model);
	precache_model(Awp1Model);
	precache_model(Awp3Model);
	precache_model(Awp4Model);
	precache_model(Awp5Model);
	
}
public client_putinserver(id) 
{
	Awp1[id] = false;
	Awp2[id] = false;
	Awp3[id] = false;
	Awp4[id] = false;
	Awp5[id] = false;
}
public CurentWeapon(id) {
	if(get_user_weapon(id) == CSW_AWP)
	if(get_user_weapon(id) == CSW_AK47)
	if(get_user_weapon(id) == CSW_AWP)
	if(get_user_weapon(id) == CSW_AWP)
						 {
		
		if(Awp1[id])
			set_pev(id, pev_viewmodel2, Awp1Model);
		
		if(Awp2[id])
			set_pev(id, pev_viewmodel2, Awp2Model);
		
		if(Awp3[id])
			set_pev(id, pev_viewmodel2, Awp3Model);
		
		if(Awp4[id])
			set_pev(id, pev_viewmodel2, Awp4Model);
		
		if(Awp5[id])
			set_pev(id, pev_viewmodel2, Awp5Model);
		
		
	}
}   

stock renkli_yazi(const id, const input[], any:...)
{
	new count = 1, players[32];
	static msg[191];
	vformat(msg, 190, input, 3);
	
	replace_all(msg, 190, "!n", "^x01");
	replace_all(msg, 190, "!g", "^x04");
	replace_all(msg, 190, "!t", "^x03");
	
	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();
			}
			
		}
	}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1254\\ deff0\\ deflang1055{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
denermisin
yok hocam olmadı kafayı yiyecem birazdan menü açılmıyor bile

Link:
Linklerini gizle
Linki Kopyala
Kullanıcı avatarı

MehmetReis-
Mesajlar: 1631
Kayıt: Çrş Ara 21, 2016 12:03 am
Server Ip/DNS: cs121.csduragi.com
Clan İsmi: Nationals

modelleme konusu

Mesaj gönderen MehmetReis- »

noeldayi yazdı: Sal Nis 03, 2018 6:56 pm

Kod: Tümünü seç

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <hamsandwich>

#define PLUGIN "Silah Menusu"
#define VERSION "1.0"
#define AUTHOR "vaveylaSS"
#define swnick "'esL"

new const Awp1Model[66] = "models/silahmenu/v_ak47fireserphent.mdl";
new const Awp2Model[66] = "models/silahmenu/v_awpdragonlore.mdl";
new const Awp3Model[66] = "models/silahmenu/v_m4a1howl.mdl";
new const Awp4Model[66] = "models/silahmenu/v_gammadopplerbayonet.mdl";
new const Awp5Model[66] = "models/silahmenu/v_gammadopplerkarambit.mdl";


new bool: Awp1[33];
new bool: Awp2[33];
new bool: Awp3[33];
new bool: Awp4[33];
new bool: Awp5[33];
new bool: AwpKitle[33];


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_clcmd("say /silahmenusu","Silah Menusu")
	register_event("CurWeapon", "CurentWeapon", "be", "1=1");
}

public Menu(id) {
	new menu = menu_create("\d[\r'esL\y|\risim\d] \r// \wSilah Menusu \r\\ ^n\d // cs188.csduragi.com // \r- \r\\ \d esl.tsklan.com \r//", "menu_handler")
	
	menu_additem(menu, "\d['esL] \w-- \rAWP Dragon Lore", "1", 0);
	menu_additem(menu, "\d['esL] \w-- \rAK47 Fire Serphent", "2");
	menu_additem(menu, "\d['esL] \w-- \rM4A1 Howl", "3", 0);
	menu_additem(menu, "\d['esL] \w-- \rBayonet Gamma Doppler", "4", 0);
	menu_additem(menu, "\d['esL] \w-- \rKarambit Gamma Doppler ", "5", 0);
	
	menu_setprop(menu,MPROP_NEXTNAME,"\yIleri")
	menu_setprop(menu,MPROP_BACKNAME,"\yGeri")
	menu_setprop(menu,MPROP_EXITNAME,"\yCIKIS");
	menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
	menu_display(id, menu, 0);
	return PLUGIN_CONTINUE
}
public menu_handler(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);
	new adminismi[32]
	get_user_name(id,adminismi,31)
	
	switch(key)
	{
		case 1: {
			AwpKitle[id] = true;
			Awp1[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nAWP [ Dragon Lore ] Sectiniz",swnick)
		}   
		case 2: {
			AwpKitle[id] = true;
			Awp2[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nAK47 [ Fire Serphent ] Sectiniz",swnick)
		}
		case 3: {
			AwpKitle[id] = true;
			Awp3[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nM4A1 [ Howl] Sectiniz",swnick)
		}
		case 4: {
			AwpKitle[id] = true;
			Awp4[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nBayonet [ Gamma Doppler ] Sectiniz",swnick)
		}
		case 5: {
			Awp5[id] = true;
			AwpKitle[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nKarambit [ Gamma Doppler ] Sectiniz",swnick)
		}
	}
	
	menu_destroy(menu);
	return PLUGIN_HANDLED;
} 
public oyuncu_dogunca(id) 
{
	if(is_user_alive(id))
	{
		AwpKitle[id]= false;
		
		Awp1[id] = false;
		Awp2[id] = false;
		Awp3[id] = false;
		Awp4[id] = false;
		Awp5[id] = false;
	}
}

public plugin_precache() 
{
	precache_model(Awp2Model);
	precache_model(Awp1Model);
	precache_model(Awp3Model);
	precache_model(Awp4Model);
	precache_model(Awp5Model);
	
}
public client_putinserver(id) 
{
	Awp1[id] = false;
	Awp2[id] = false;
	Awp3[id] = false;
	Awp4[id] = false;
	Awp5[id] = false;
}
public CurentWeapon(id) {
	if(get_user_weapon(id) == CSW_AWP)
	if(get_user_weapon(id) == CSW_AK47)
	if(get_user_weapon(id) == CSW_AWP)
	if(get_user_weapon(id) == CSW_AWP)
						 {
		
		if(Awp1[id])
			set_pev(id, pev_viewmodel2, Awp1Model);
		
		if(Awp2[id])
			set_pev(id, pev_viewmodel2, Awp2Model);
		
		if(Awp3[id])
			set_pev(id, pev_viewmodel2, Awp3Model);
		
		if(Awp4[id])
			set_pev(id, pev_viewmodel2, Awp4Model);
		
		if(Awp5[id])
			set_pev(id, pev_viewmodel2, Awp5Model);
		
		
	}
}   

stock renkli_yazi(const id, const input[], any:...)
{
	new count = 1, players[32];
	static msg[191];
	vformat(msg, 190, input, 3);
	
	replace_all(msg, 190, "!n", "^x01");
	replace_all(msg, 190, "!g", "^x04");
	replace_all(msg, 190, "!t", "^x03");
	
	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();
			}
			
		}
	}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1254\\ deff0\\ deflang1055{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
denermisin
:lol:

Link:
Linklerini gizle
Linki Kopyala
Kullanıcı avatarı

Konu Sahibi
StVaveyla
Mesajlar: 391
Kayıt: Cmt Tem 15, 2017 7:11 pm
Konum: İstanbul
Clan İsmi: TEAMRUBYGG

modelleme konusu

Mesaj gönderen StVaveyla »

MehmetReis- yazdı: Sal Nis 03, 2018 7:49 pm
noeldayi yazdı: Sal Nis 03, 2018 6:56 pm

Kod: Tümünü seç

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <hamsandwich>

#define PLUGIN "Silah Menusu"
#define VERSION "1.0"
#define AUTHOR "vaveylaSS"
#define swnick "'esL"

new const Awp1Model[66] = "models/silahmenu/v_ak47fireserphent.mdl";
new const Awp2Model[66] = "models/silahmenu/v_awpdragonlore.mdl";
new const Awp3Model[66] = "models/silahmenu/v_m4a1howl.mdl";
new const Awp4Model[66] = "models/silahmenu/v_gammadopplerbayonet.mdl";
new const Awp5Model[66] = "models/silahmenu/v_gammadopplerkarambit.mdl";


new bool: Awp1[33];
new bool: Awp2[33];
new bool: Awp3[33];
new bool: Awp4[33];
new bool: Awp5[33];
new bool: AwpKitle[33];


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_clcmd("say /silahmenusu","Silah Menusu")
	register_event("CurWeapon", "CurentWeapon", "be", "1=1");
}

public Menu(id) {
	new menu = menu_create("\d[\r'esL\y|\risim\d] \r// \wSilah Menusu \r\\ ^n\d // cs188.csduragi.com // \r- \r\\ \d esl.tsklan.com \r//", "menu_handler")
	
	menu_additem(menu, "\d['esL] \w-- \rAWP Dragon Lore", "1", 0);
	menu_additem(menu, "\d['esL] \w-- \rAK47 Fire Serphent", "2");
	menu_additem(menu, "\d['esL] \w-- \rM4A1 Howl", "3", 0);
	menu_additem(menu, "\d['esL] \w-- \rBayonet Gamma Doppler", "4", 0);
	menu_additem(menu, "\d['esL] \w-- \rKarambit Gamma Doppler ", "5", 0);
	
	menu_setprop(menu,MPROP_NEXTNAME,"\yIleri")
	menu_setprop(menu,MPROP_BACKNAME,"\yGeri")
	menu_setprop(menu,MPROP_EXITNAME,"\yCIKIS");
	menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
	menu_display(id, menu, 0);
	return PLUGIN_CONTINUE
}
public menu_handler(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);
	new adminismi[32]
	get_user_name(id,adminismi,31)
	
	switch(key)
	{
		case 1: {
			AwpKitle[id] = true;
			Awp1[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nAWP [ Dragon Lore ] Sectiniz",swnick)
		}   
		case 2: {
			AwpKitle[id] = true;
			Awp2[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nAK47 [ Fire Serphent ] Sectiniz",swnick)
		}
		case 3: {
			AwpKitle[id] = true;
			Awp3[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nM4A1 [ Howl] Sectiniz",swnick)
		}
		case 4: {
			AwpKitle[id] = true;
			Awp4[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nBayonet [ Gamma Doppler ] Sectiniz",swnick)
		}
		case 5: {
			Awp5[id] = true;
			AwpKitle[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nKarambit [ Gamma Doppler ] Sectiniz",swnick)
		}
	}
	
	menu_destroy(menu);
	return PLUGIN_HANDLED;
} 
public oyuncu_dogunca(id) 
{
	if(is_user_alive(id))
	{
		AwpKitle[id]= false;
		
		Awp1[id] = false;
		Awp2[id] = false;
		Awp3[id] = false;
		Awp4[id] = false;
		Awp5[id] = false;
	}
}

public plugin_precache() 
{
	precache_model(Awp2Model);
	precache_model(Awp1Model);
	precache_model(Awp3Model);
	precache_model(Awp4Model);
	precache_model(Awp5Model);
	
}
public client_putinserver(id) 
{
	Awp1[id] = false;
	Awp2[id] = false;
	Awp3[id] = false;
	Awp4[id] = false;
	Awp5[id] = false;
}
public CurentWeapon(id) {
	if(get_user_weapon(id) == CSW_AWP)
	if(get_user_weapon(id) == CSW_AK47)
	if(get_user_weapon(id) == CSW_AWP)
	if(get_user_weapon(id) == CSW_AWP)
						 {
		
		if(Awp1[id])
			set_pev(id, pev_viewmodel2, Awp1Model);
		
		if(Awp2[id])
			set_pev(id, pev_viewmodel2, Awp2Model);
		
		if(Awp3[id])
			set_pev(id, pev_viewmodel2, Awp3Model);
		
		if(Awp4[id])
			set_pev(id, pev_viewmodel2, Awp4Model);
		
		if(Awp5[id])
			set_pev(id, pev_viewmodel2, Awp5Model);
		
		
	}
}   

stock renkli_yazi(const id, const input[], any:...)
{
	new count = 1, players[32];
	static msg[191];
	vformat(msg, 190, input, 3);
	
	replace_all(msg, 190, "!n", "^x01");
	replace_all(msg, 190, "!g", "^x04");
	replace_all(msg, 190, "!t", "^x03");
	
	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();
			}
			
		}
	}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1254\\ deff0\\ deflang1055{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
denermisin
:lol:
mehmet hocam ayıp oluyor az yardımcı oluver :D

Link:
Linklerini gizle
Linki Kopyala
Kullanıcı avatarı

MehmetReis-
Mesajlar: 1631
Kayıt: Çrş Ara 21, 2016 12:03 am
Server Ip/DNS: cs121.csduragi.com
Clan İsmi: Nationals

modelleme konusu

Mesaj gönderen MehmetReis- »

StVaveyla yazdı: Sal Nis 03, 2018 7:55 pm
MehmetReis- yazdı: Sal Nis 03, 2018 7:49 pm
noeldayi yazdı: Sal Nis 03, 2018 6:56 pm

Kod: Tümünü seç

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <hamsandwich>

#define PLUGIN "Silah Menusu"
#define VERSION "1.0"
#define AUTHOR "vaveylaSS"
#define swnick "'esL"

new const Awp1Model[66] = "models/silahmenu/v_ak47fireserphent.mdl";
new const Awp2Model[66] = "models/silahmenu/v_awpdragonlore.mdl";
new const Awp3Model[66] = "models/silahmenu/v_m4a1howl.mdl";
new const Awp4Model[66] = "models/silahmenu/v_gammadopplerbayonet.mdl";
new const Awp5Model[66] = "models/silahmenu/v_gammadopplerkarambit.mdl";


new bool: Awp1[33];
new bool: Awp2[33];
new bool: Awp3[33];
new bool: Awp4[33];
new bool: Awp5[33];
new bool: AwpKitle[33];


public plugin_init() {
	register_plugin(PLUGIN, VERSION, AUTHOR)
	register_clcmd("say /silahmenusu","Silah Menusu")
	register_event("CurWeapon", "CurentWeapon", "be", "1=1");
}

public Menu(id) {
	new menu = menu_create("\d[\r'esL\y|\risim\d] \r// \wSilah Menusu \r\\ ^n\d // cs188.csduragi.com // \r- \r\\ \d esl.tsklan.com \r//", "menu_handler")
	
	menu_additem(menu, "\d['esL] \w-- \rAWP Dragon Lore", "1", 0);
	menu_additem(menu, "\d['esL] \w-- \rAK47 Fire Serphent", "2");
	menu_additem(menu, "\d['esL] \w-- \rM4A1 Howl", "3", 0);
	menu_additem(menu, "\d['esL] \w-- \rBayonet Gamma Doppler", "4", 0);
	menu_additem(menu, "\d['esL] \w-- \rKarambit Gamma Doppler ", "5", 0);
	
	menu_setprop(menu,MPROP_NEXTNAME,"\yIleri")
	menu_setprop(menu,MPROP_BACKNAME,"\yGeri")
	menu_setprop(menu,MPROP_EXITNAME,"\yCIKIS");
	menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
	menu_display(id, menu, 0);
	return PLUGIN_CONTINUE
}
public menu_handler(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);
	new adminismi[32]
	get_user_name(id,adminismi,31)
	
	switch(key)
	{
		case 1: {
			AwpKitle[id] = true;
			Awp1[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nAWP [ Dragon Lore ] Sectiniz",swnick)
		}   
		case 2: {
			AwpKitle[id] = true;
			Awp2[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nAK47 [ Fire Serphent ] Sectiniz",swnick)
		}
		case 3: {
			AwpKitle[id] = true;
			Awp3[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nM4A1 [ Howl] Sectiniz",swnick)
		}
		case 4: {
			AwpKitle[id] = true;
			Awp4[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nBayonet [ Gamma Doppler ] Sectiniz",swnick)
		}
		case 5: {
			Awp5[id] = true;
			AwpKitle[id] = true;
			CurentWeapon(id);
			renkli_yazi(id, "!t[ !g%s !t] !nKarambit [ Gamma Doppler ] Sectiniz",swnick)
		}
	}
	
	menu_destroy(menu);
	return PLUGIN_HANDLED;
} 
public oyuncu_dogunca(id) 
{
	if(is_user_alive(id))
	{
		AwpKitle[id]= false;
		
		Awp1[id] = false;
		Awp2[id] = false;
		Awp3[id] = false;
		Awp4[id] = false;
		Awp5[id] = false;
	}
}

public plugin_precache() 
{
	precache_model(Awp2Model);
	precache_model(Awp1Model);
	precache_model(Awp3Model);
	precache_model(Awp4Model);
	precache_model(Awp5Model);
	
}
public client_putinserver(id) 
{
	Awp1[id] = false;
	Awp2[id] = false;
	Awp3[id] = false;
	Awp4[id] = false;
	Awp5[id] = false;
}
public CurentWeapon(id) {
	if(get_user_weapon(id) == CSW_AWP)
	if(get_user_weapon(id) == CSW_AK47)
	if(get_user_weapon(id) == CSW_AWP)
	if(get_user_weapon(id) == CSW_AWP)
						 {
		
		if(Awp1[id])
			set_pev(id, pev_viewmodel2, Awp1Model);
		
		if(Awp2[id])
			set_pev(id, pev_viewmodel2, Awp2Model);
		
		if(Awp3[id])
			set_pev(id, pev_viewmodel2, Awp3Model);
		
		if(Awp4[id])
			set_pev(id, pev_viewmodel2, Awp4Model);
		
		if(Awp5[id])
			set_pev(id, pev_viewmodel2, Awp5Model);
		
		
	}
}   

stock renkli_yazi(const id, const input[], any:...)
{
	new count = 1, players[32];
	static msg[191];
	vformat(msg, 190, input, 3);
	
	replace_all(msg, 190, "!n", "^x01");
	replace_all(msg, 190, "!g", "^x04");
	replace_all(msg, 190, "!t", "^x03");
	
	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();
			}
			
		}
	}
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ ansicpg1254\\ deff0\\ deflang1055{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
*/
denermisin
:lol:
mehmet hocam ayıp oluyor az yardımcı oluver :D
Ben ona gülmedim authora başka şey yazmış ondan güldüm . Yardım etmek çok isterim kardeşim ama hastalandım benim sana attığım çalışıyor sorunsuz onu yapamadın mı ?

Link:
Linklerini gizle
Linki Kopyala
Kullanıcı avatarı

noeldayi
Mesajlar: 3167
Kayıt: Prş Oca 19, 2017 6:57 pm
Konum: 213.238.173.35
Server Ip/DNS: 213.238.173.35
Clan İsmi: Moon Gaming
İletişim:

modelleme konusu

Mesaj gönderen noeldayi »

Arkadaşım birşey deneyebilirim senin için örneğin Silah Skinini Seç Gelir Arkından M4A1 Modelini seç ak47 seç awp seç wb diye tek modeli seçerler öyle istiyorsan denerim?

Link:
Linklerini gizle
Linki Kopyala
Cevapla