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

https://discord.gg/43gGDQe6tS

[BIO] Winteam Message

Eklenti sorunlarınız ve özel eklenti istekleriniz

Moderatör: Moderatörler

Kullanıcı avatarı

Konu Sahibi
tufan_34_53
Mesajlar: 201
Kayıt: Sal Ara 18, 2018 9:39 am
Konum: İstanbul
Server Ip/DNS: 213.238.173.83
Clan İsmi: [xL GAMING]

[BIO] Winteam Message

Mesaj gönderen tufan_34_53 »

Güncel.

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

Konu Sahibi
tufan_34_53
Mesajlar: 201
Kayıt: Sal Ara 18, 2018 9:39 am
Konum: İstanbul
Server Ip/DNS: 213.238.173.83
Clan İsmi: [xL GAMING]

[BIO] Winteam Message

Mesaj gönderen tufan_34_53 »

+Güncel

Link:
Linklerini gizle
Linki Kopyala

2Adam
Mesajlar: 227
Kayıt: Cmt Tem 09, 2022 4:33 pm

[BIO] Winteam Message

Mesaj gönderen 2Adam »

Dene bakalım buyur;
DeneBakalım.sma
Bu mesaja eklenen dosyaları görüntülemek için gerekli izinlere sahip değilsiniz.

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

Konu Sahibi
tufan_34_53
Mesajlar: 201
Kayıt: Sal Ara 18, 2018 9:39 am
Konum: İstanbul
Server Ip/DNS: 213.238.173.83
Clan İsmi: [xL GAMING]

[BIO] Winteam Message

Mesaj gönderen tufan_34_53 »

2Adam yazdı: Sal Tem 19, 2022 2:28 pm Dene bakalım buyur;

DeneBakalım.sma
Server çöktü :)

Link:
Linklerini gizle
Linki Kopyala

2Adam
Mesajlar: 227
Kayıt: Cmt Tem 09, 2022 4:33 pm

[BIO] Winteam Message

Mesaj gönderen 2Adam »

tufan_34_53 yazdı: Sal Tem 19, 2022 5:50 pm
2Adam yazdı: Sal Tem 19, 2022 2:28 pm Dene bakalım buyur;

DeneBakalım.sma
Server çöktü :)
sebepi nedir model uzantısını kontroll edin

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

Konu Sahibi
tufan_34_53
Mesajlar: 201
Kayıt: Sal Ara 18, 2018 9:39 am
Konum: İstanbul
Server Ip/DNS: 213.238.173.83
Clan İsmi: [xL GAMING]

[BIO] Winteam Message

Mesaj gönderen tufan_34_53 »

2Adam yazdı: Sal Tem 19, 2022 6:00 pm
tufan_34_53 yazdı: Sal Tem 19, 2022 5:50 pm
2Adam yazdı: Sal Tem 19, 2022 2:28 pm Dene bakalım buyur;

DeneBakalım.sma
Server çöktü :)
sebepi nedir model uzantısını kontroll edin
Modellerin eklenmesinde problem yok dosyaları eksiksiz atıyorum aşağıda modelleri paylaşıcam.

Kod: Tümünü seç

#include <amxmodx>
#include <fakemeta>
#include <biohazard>
#include <fun>
#include <cstrike>

new Hands[33], MaxPlayers, ChekUserHands,ROUND_WIN_CT,ROUND_WIN_T,ROUND_DRAW;

// Normal Models
new const MODELS[3][] =
{
	"",
	"models/biohazard/zombie_winn.mdl",
	"models/biohazard/human_winn.mdl"
}

// Fliped Models
new const MODELS_FLIP[3][] =
{
	"",
	"models/biohazard/zombie_win.mdl",
	"models/biohazard/human_win.mdl"
}

new g_iModelIndex[3], g_iModelIndexFlip[3], g_iWinTeam

public plugin_init()
{
	register_plugin("[ZP] Sub-Plugin: New Win Messages", "1.4", "Shidla / xPaw / 93()|29!/<" )
	register_event("HLTV", "EventRoundStart", "a", "1=0", "2=0" )
	register_event("CurWeapon", "EventCurWeapon", "be", "1=1")

	MaxPlayers = get_maxplayers()

	ChekUserHands = register_cvar("new_win_msg_chek" , "1")
}

public plugin_precache()
{
	for (new i = ROUND_WIN_T; i <= ROUND_WIN_CT; i++)
	{
		// Normal Models
		precache_model(MODELS[i])
		g_iModelIndex[i] = engfunc(EngFunc_AllocString, MODELS[i])

		// Fliped Models
		precache_model(MODELS_FLIP[i])
		g_iModelIndexFlip[i] = engfunc(EngFunc_AllocString, MODELS_FLIP[i])
	}
}

public client_connect(id)
{
	if(!is_user_bot(id) && get_pcvar_num (ChekUserHands))
		query_client_cvar(id , "cl_righthand" , "Hands_CVAR_Value")
}

public Hands_CVAR_Value(id, const cvar[], const value[])
{
	if((1 <= id <= MaxPlayers) && get_pcvar_num (ChekUserHands))
		Hands[id] = str_to_num(value)
}

public client_disconneced(id)
{
	if(get_pcvar_num (ChekUserHands))
		Hands[id] = 0
}

public round_ended(iTeam)
{
	if (iTeam == ROUND_DRAW)
		return
	g_iWinTeam = iTeam
	new iPlayers[32], iNum
	get_players(iPlayers, iNum, "ch")
	
	for (new i; i < iNum; i++)
	{
		if(get_pcvar_num (ChekUserHands))
			client_cmd(iPlayers[i], "cl_righthand ^"1^"")
		
		if (get_user_weapon(iPlayers[i]) != CSW_KNIFE)
			set_pev(iPlayers[i], pev_viewmodel, g_iModelIndexFlip[iTeam])
		else
			set_pev(iPlayers[i], pev_viewmodel, g_iModelIndex[iTeam])
	}
}

public EventRoundStart()
{
	g_iWinTeam = ROUND_DRAW
	
	if(get_pcvar_num (ChekUserHands))
	{
		for (new i = 1; i <= MaxPlayers; i++)
		{
			if(!is_user_connected(i))
				continue
			
			client_cmd(i, "cl_righthand ^"%d^"", Hands[i])
		}
	}
}

public EventCurWeapon(const id)
{
	if (g_iWinTeam > ROUND_DRAW)
	{
		if (get_pcvar_num (ChekUserHands))
			client_cmd(id, "cl_righthand ^"1^"")
		
		if (get_user_weapon(id) != CSW_KNIFE)
			set_pev(id, pev_viewmodel, g_iModelIndexFlip[g_iWinTeam])
		else
			set_pev(id, pev_viewmodel, g_iModelIndex[g_iWinTeam])
	}
}

Eklemek İstediğim Modeller Bunlar.
  • zombie_win.mdl
  • zombie_winn.mdl
  • human_win.mdl
  • human_winn.mdl
Bu mesaja eklenen dosyaları görüntülemek için gerekli izinlere sahip değilsiniz.

Link:
Linklerini gizle
Linki Kopyala

2Adam
Mesajlar: 227
Kayıt: Cmt Tem 09, 2022 4:33 pm

[BIO] Winteam Message

Mesaj gönderen 2Adam »

tufan_34_53 yazdı: Sal Tem 19, 2022 6:08 pm
2Adam yazdı: Sal Tem 19, 2022 6:00 pm
tufan_34_53 yazdı: Sal Tem 19, 2022 5:50 pm

Server çöktü :)
sebepi nedir model uzantısını kontroll edin
Modellerin eklenmesinde problem yok dosyaları eksiksiz atıyorum aşağıda modelleri paylaşıcam.

Kod: Tümünü seç

#include <amxmodx>
#include <fakemeta>
#include <biohazard>
#include <fun>
#include <cstrike>

new Hands[33], MaxPlayers, ChekUserHands,ROUND_WIN_CT,ROUND_WIN_T,ROUND_DRAW;

// Normal Models
new const MODELS[3][] =
{
	"",
	"models/biohazard/zombie_winn.mdl",
	"models/biohazard/human_winn.mdl"
}

// Fliped Models
new const MODELS_FLIP[3][] =
{
	"",
	"models/biohazard/zombie_win.mdl",
	"models/biohazard/human_win.mdl"
}

new g_iModelIndex[3], g_iModelIndexFlip[3], g_iWinTeam

public plugin_init()
{
	register_plugin("[ZP] Sub-Plugin: New Win Messages", "1.4", "Shidla / xPaw / 93()|29!/<" )
	register_event("HLTV", "EventRoundStart", "a", "1=0", "2=0" )
	register_event("CurWeapon", "EventCurWeapon", "be", "1=1")

	MaxPlayers = get_maxplayers()

	ChekUserHands = register_cvar("new_win_msg_chek" , "1")
}

public plugin_precache()
{
	for (new i = ROUND_WIN_T; i <= ROUND_WIN_CT; i++)
	{
		// Normal Models
		precache_model(MODELS[i])
		g_iModelIndex[i] = engfunc(EngFunc_AllocString, MODELS[i])

		// Fliped Models
		precache_model(MODELS_FLIP[i])
		g_iModelIndexFlip[i] = engfunc(EngFunc_AllocString, MODELS_FLIP[i])
	}
}

public client_connect(id)
{
	if(!is_user_bot(id) && get_pcvar_num (ChekUserHands))
		query_client_cvar(id , "cl_righthand" , "Hands_CVAR_Value")
}

public Hands_CVAR_Value(id, const cvar[], const value[])
{
	if((1 <= id <= MaxPlayers) && get_pcvar_num (ChekUserHands))
		Hands[id] = str_to_num(value)
}

public client_disconneced(id)
{
	if(get_pcvar_num (ChekUserHands))
		Hands[id] = 0
}

public round_ended(iTeam)
{
	if (iTeam == ROUND_DRAW)
		return
	g_iWinTeam = iTeam
	new iPlayers[32], iNum
	get_players(iPlayers, iNum, "ch")
	
	for (new i; i < iNum; i++)
	{
		if(get_pcvar_num (ChekUserHands))
			client_cmd(iPlayers[i], "cl_righthand ^"1^"")
		
		if (get_user_weapon(iPlayers[i]) != CSW_KNIFE)
			set_pev(iPlayers[i], pev_viewmodel, g_iModelIndexFlip[iTeam])
		else
			set_pev(iPlayers[i], pev_viewmodel, g_iModelIndex[iTeam])
	}
}

public EventRoundStart()
{
	g_iWinTeam = ROUND_DRAW
	
	if(get_pcvar_num (ChekUserHands))
	{
		for (new i = 1; i <= MaxPlayers; i++)
		{
			if(!is_user_connected(i))
				continue
			
			client_cmd(i, "cl_righthand ^"%d^"", Hands[i])
		}
	}
}

public EventCurWeapon(const id)
{
	if (g_iWinTeam > ROUND_DRAW)
	{
		if (get_pcvar_num (ChekUserHands))
			client_cmd(id, "cl_righthand ^"1^"")
		
		if (get_user_weapon(id) != CSW_KNIFE)
			set_pev(id, pev_viewmodel, g_iModelIndexFlip[g_iWinTeam])
		else
			set_pev(id, pev_viewmodel, g_iModelIndex[g_iWinTeam])
	}
}

Eklemek İstediğim Modeller Bunlar.
  • zombie_win.mdl
  • zombie_winn.mdl
  • human_win.mdl
  • human_winn.mdl
Yarın yapığ atıyorum dostum kusura bakma görmesim 10 saatir modla ugraşıyorum

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

Konu Sahibi
tufan_34_53
Mesajlar: 201
Kayıt: Sal Ara 18, 2018 9:39 am
Konum: İstanbul
Server Ip/DNS: 213.238.173.83
Clan İsmi: [xL GAMING]

[BIO] Winteam Message

Mesaj gönderen tufan_34_53 »

2Adam yazdı: Sal Tem 19, 2022 11:05 pm
tufan_34_53 yazdı: Sal Tem 19, 2022 6:08 pm
2Adam yazdı: Sal Tem 19, 2022 6:00 pm

sebepi nedir model uzantısını kontroll edin
Modellerin eklenmesinde problem yok dosyaları eksiksiz atıyorum aşağıda modelleri paylaşıcam.

Kod: Tümünü seç

#include <amxmodx>
#include <fakemeta>
#include <biohazard>
#include <fun>
#include <cstrike>

new Hands[33], MaxPlayers, ChekUserHands,ROUND_WIN_CT,ROUND_WIN_T,ROUND_DRAW;

// Normal Models
new const MODELS[3][] =
{
	"",
	"models/biohazard/zombie_winn.mdl",
	"models/biohazard/human_winn.mdl"
}

// Fliped Models
new const MODELS_FLIP[3][] =
{
	"",
	"models/biohazard/zombie_win.mdl",
	"models/biohazard/human_win.mdl"
}

new g_iModelIndex[3], g_iModelIndexFlip[3], g_iWinTeam

public plugin_init()
{
	register_plugin("[ZP] Sub-Plugin: New Win Messages", "1.4", "Shidla / xPaw / 93()|29!/<" )
	register_event("HLTV", "EventRoundStart", "a", "1=0", "2=0" )
	register_event("CurWeapon", "EventCurWeapon", "be", "1=1")

	MaxPlayers = get_maxplayers()

	ChekUserHands = register_cvar("new_win_msg_chek" , "1")
}

public plugin_precache()
{
	for (new i = ROUND_WIN_T; i <= ROUND_WIN_CT; i++)
	{
		// Normal Models
		precache_model(MODELS[i])
		g_iModelIndex[i] = engfunc(EngFunc_AllocString, MODELS[i])

		// Fliped Models
		precache_model(MODELS_FLIP[i])
		g_iModelIndexFlip[i] = engfunc(EngFunc_AllocString, MODELS_FLIP[i])
	}
}

public client_connect(id)
{
	if(!is_user_bot(id) && get_pcvar_num (ChekUserHands))
		query_client_cvar(id , "cl_righthand" , "Hands_CVAR_Value")
}

public Hands_CVAR_Value(id, const cvar[], const value[])
{
	if((1 <= id <= MaxPlayers) && get_pcvar_num (ChekUserHands))
		Hands[id] = str_to_num(value)
}

public client_disconneced(id)
{
	if(get_pcvar_num (ChekUserHands))
		Hands[id] = 0
}

public round_ended(iTeam)
{
	if (iTeam == ROUND_DRAW)
		return
	g_iWinTeam = iTeam
	new iPlayers[32], iNum
	get_players(iPlayers, iNum, "ch")
	
	for (new i; i < iNum; i++)
	{
		if(get_pcvar_num (ChekUserHands))
			client_cmd(iPlayers[i], "cl_righthand ^"1^"")
		
		if (get_user_weapon(iPlayers[i]) != CSW_KNIFE)
			set_pev(iPlayers[i], pev_viewmodel, g_iModelIndexFlip[iTeam])
		else
			set_pev(iPlayers[i], pev_viewmodel, g_iModelIndex[iTeam])
	}
}

public EventRoundStart()
{
	g_iWinTeam = ROUND_DRAW
	
	if(get_pcvar_num (ChekUserHands))
	{
		for (new i = 1; i <= MaxPlayers; i++)
		{
			if(!is_user_connected(i))
				continue
			
			client_cmd(i, "cl_righthand ^"%d^"", Hands[i])
		}
	}
}

public EventCurWeapon(const id)
{
	if (g_iWinTeam > ROUND_DRAW)
	{
		if (get_pcvar_num (ChekUserHands))
			client_cmd(id, "cl_righthand ^"1^"")
		
		if (get_user_weapon(id) != CSW_KNIFE)
			set_pev(id, pev_viewmodel, g_iModelIndexFlip[g_iWinTeam])
		else
			set_pev(id, pev_viewmodel, g_iModelIndex[g_iWinTeam])
	}
}

Eklemek İstediğim Modeller Bunlar.
  • zombie_win.mdl
  • zombie_winn.mdl
  • human_win.mdl
  • human_winn.mdl
Yarın yapığ atıyorum dostum kusura bakma görmesim 10 saatir modla ugraşıyorum
Tamam Beklemedeyim.

Link:
Linklerini gizle
Linki Kopyala
Cevapla