CS 1.6 CS GO Inspect Plugini Çalışmıyor
Moderatör: Moderatörler
-
Konu Sahibi - Mesajlar: 49
- Kayıt: Prş Eki 29, 2020 1:35 am
CS 1.6 CS GO Inspect Plugini Çalışmıyor
Bir sürü inspect plugini denedim. Modellerde inspect.smd animasyonu olmasına rağmen pluginlerin hiç biri çalışmıyor. bind "f" "inspect", bind "f" "impulse 100" yapmama rağmen.
Link: | |
Linklerini gizle |
-
- Mesajlar: 1762
- Kayıt: Çrş Şub 22, 2017 11:28 pm
- Konum: Istanbul
- Server Ip/DNS: Cs.teknoklan.com
- Clan İsmi: TeknoKlan
- İletişim:
CS 1.6 CS GO Inspect Plugini Çalışmıyor
Bi eklentinizi ve eklediginiz modeli gönderebilirmisiniz
Link: | |
Linklerini gizle |
-
Konu Sahibi - Mesajlar: 49
- Kayıt: Prş Eki 29, 2020 1:35 am
CS 1.6 CS GO Inspect Plugini Çalışmıyor
Uyumlu olsun diye aynı packten indirdim. JHMV'den baktığımda inspect.smd mevcut.
Bu mesaja eklenen dosyaları görüntülemek için gerekli izinlere sahip değilsiniz.
Link: | |
Linklerini gizle |
-
- Mesajlar: 1762
- Kayıt: Çrş Şub 22, 2017 11:28 pm
- Konum: Istanbul
- Server Ip/DNS: Cs.teknoklan.com
- Clan İsmi: TeknoKlan
- İletişim:
CS 1.6 CS GO Inspect Plugini Çalışmıyor
Kod: Tümünü seç
#include <amxmodx>
#include <cstrike>
#include <engine>
#include <fakemeta>
#include <hamsandwich>
#include <amxmisc>
const XoWeapon = 4;
const m_pPlayer = 41;
const m_flTimeWeaponIdle = 48;
const m_fInReload = 54;
const m_pActiveItem = 373;
new g_inspect_toggle[33];
new inspect_anim[] =
{
0, //null
7, //p228
0, //shield
5, //scout
0, //hegrenade
7, //xm1014
0, //c4
6, //mac10
6, //aug
0, //smoke grenade
16, //elites
6, //fiveseven
6, //ump45
5, //sg550
6, //galil
6, //famas
16, //usp
13, //glock
6, //awp
6, //mp5
5, //m249
7, //m3
14, //m4a1
6, //tmp
5, //g3sg1
0, //flashbang
6, //deagle
6, //sg552
6, //ak47
8, //knife
6 //p90
}
new weapon_ent[][] =
{
"weapon_p228",
"weapon_scout",
"weapon_xm1014",
"weapon_mac10",
"weapon_aug",
"weapon_elite",
"weapon_fiveseven",
"weapon_ump45",
"weapon_sg550",
"weapon_galil",
"weapon_famas",
"weapon_usp",
"weapon_glock18",
"weapon_awp",
"weapon_mp5navy",
"weapon_m249",
"weapon_m3",
"weapon_m4a1",
"weapon_tmp",
"weapon_g3sg1",
"weapon_deagle",
"weapon_sg552",
"weapon_ak47",
"weapon_knife",
"weapon_p90"
}
public plugin_init()
{
register_plugin("CS:GO Inspect Weapon", "3.0", "hellmonja");
register_impulse(100, "Inspect_Weapon")
register_clcmd("salla","Inspect_Weaponr2",ADMIN_RCON,"efect")
for(new i = 0; i < sizeof weapon_ent; i++)
RegisterHam(Ham_Item_Deploy, weapon_ent[i], "Fw_ItemDeployPost", 1);
}
public Fw_ItemDeployPost(weapon)
{
static id;
id = get_pdata_cbase(weapon, m_pPlayer, 4);
if(!is_user_alive(id))
return
remove_task(id);
g_inspect_toggle[id] = 0;
set_task(1.0, "Enable_Inspect", id);
}
public Inspect_Weaponr2(id,level,cid)
{
if (!cmd_access(id,level,cid,3)) return PLUGIN_HANDLED
new argument[20]
read_argv(1,argument,19)
new wpn_id = get_user_weapon(id);
static weapon;
weapon = get_pdata_cbase(id, m_pActiveItem);
set_pdata_float(weapon, m_flTimeWeaponIdle, 7.0, 4);
new anim = str_to_num(argument)
if(g_inspect_toggle[id] && !get_pdata_int(weapon, m_fInReload, XoWeapon))
PlayWeaponAnimation(id,anim)
return PLUGIN_HANDLED;
}
public Inspect_Weapon(id)
{
new wpn_id = get_user_weapon(id);
static weapon;
weapon = get_pdata_cbase(id, m_pActiveItem);
set_pdata_float(weapon, m_flTimeWeaponIdle, 7.0, 4);
new anim;
switch(wpn_id)
{
case CSW_M4A1:
if(!cs_get_weapon_silen(weapon)) anim = 15;
else anim = inspect_anim[wpn_id];
case CSW_USP:
if(!cs_get_weapon_silen(weapon)) anim = 17;
else anim = inspect_anim[wpn_id];
default:
anim = inspect_anim[wpn_id];
}
if(g_inspect_toggle[id] && !get_pdata_int(weapon, m_fInReload, XoWeapon))
PlayWeaponAnimation(id,anim)
return PLUGIN_HANDLED;
}
public Enable_Inspect(id)
{
g_inspect_toggle[id] = 1;
}
stock PlayWeaponAnimation(const Player, const Sequence)
{
set_pev(Player, pev_weaponanim, Sequence)
message_begin(MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, .player = Player)
write_byte(Sequence)
write_byte(pev(Player, pev_body))
message_end()
}
/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par }
*/
Link: | |
Linklerini gizle |
-
Konu Sahibi - Mesajlar: 49
- Kayıt: Prş Eki 29, 2020 1:35 am
CS 1.6 CS GO Inspect Plugini Çalışmıyor
Çalışmıyor hocam. Bir türlü olmuyor anlamadım gitti. Silahları değiştirmek için GHW_Weapon_Replacement kullanıyorum. Onla bir ilgisi olabilir mi?PaZee yazdı: Cum Kas 13, 2020 2:51 amİyi Forumlar dilerim.Kod: Tümünü seç
#include <amxmodx> #include <cstrike> #include <engine> #include <fakemeta> #include <hamsandwich> #include <amxmisc> const XoWeapon = 4; const m_pPlayer = 41; const m_flTimeWeaponIdle = 48; const m_fInReload = 54; const m_pActiveItem = 373; new g_inspect_toggle[33]; new inspect_anim[] = { 0, //null 7, //p228 0, //shield 5, //scout 0, //hegrenade 7, //xm1014 0, //c4 6, //mac10 6, //aug 0, //smoke grenade 16, //elites 6, //fiveseven 6, //ump45 5, //sg550 6, //galil 6, //famas 16, //usp 13, //glock 6, //awp 6, //mp5 5, //m249 7, //m3 14, //m4a1 6, //tmp 5, //g3sg1 0, //flashbang 6, //deagle 6, //sg552 6, //ak47 8, //knife 6 //p90 } new weapon_ent[][] = { "weapon_p228", "weapon_scout", "weapon_xm1014", "weapon_mac10", "weapon_aug", "weapon_elite", "weapon_fiveseven", "weapon_ump45", "weapon_sg550", "weapon_galil", "weapon_famas", "weapon_usp", "weapon_glock18", "weapon_awp", "weapon_mp5navy", "weapon_m249", "weapon_m3", "weapon_m4a1", "weapon_tmp", "weapon_g3sg1", "weapon_deagle", "weapon_sg552", "weapon_ak47", "weapon_knife", "weapon_p90" } public plugin_init() { register_plugin("CS:GO Inspect Weapon", "3.0", "hellmonja"); register_impulse(100, "Inspect_Weapon") register_clcmd("salla","Inspect_Weaponr2",ADMIN_RCON,"efect") for(new i = 0; i < sizeof weapon_ent; i++) RegisterHam(Ham_Item_Deploy, weapon_ent[i], "Fw_ItemDeployPost", 1); } public Fw_ItemDeployPost(weapon) { static id; id = get_pdata_cbase(weapon, m_pPlayer, 4); if(!is_user_alive(id)) return remove_task(id); g_inspect_toggle[id] = 0; set_task(1.0, "Enable_Inspect", id); } public Inspect_Weaponr2(id,level,cid) { if (!cmd_access(id,level,cid,3)) return PLUGIN_HANDLED new argument[20] read_argv(1,argument,19) new wpn_id = get_user_weapon(id); static weapon; weapon = get_pdata_cbase(id, m_pActiveItem); set_pdata_float(weapon, m_flTimeWeaponIdle, 7.0, 4); new anim = str_to_num(argument) if(g_inspect_toggle[id] && !get_pdata_int(weapon, m_fInReload, XoWeapon)) PlayWeaponAnimation(id,anim) return PLUGIN_HANDLED; } public Inspect_Weapon(id) { new wpn_id = get_user_weapon(id); static weapon; weapon = get_pdata_cbase(id, m_pActiveItem); set_pdata_float(weapon, m_flTimeWeaponIdle, 7.0, 4); new anim; switch(wpn_id) { case CSW_M4A1: if(!cs_get_weapon_silen(weapon)) anim = 15; else anim = inspect_anim[wpn_id]; case CSW_USP: if(!cs_get_weapon_silen(weapon)) anim = 17; else anim = inspect_anim[wpn_id]; default: anim = inspect_anim[wpn_id]; } if(g_inspect_toggle[id] && !get_pdata_int(weapon, m_fInReload, XoWeapon)) PlayWeaponAnimation(id,anim) return PLUGIN_HANDLED; } public Enable_Inspect(id) { g_inspect_toggle[id] = 1; } stock PlayWeaponAnimation(const Player, const Sequence) { set_pev(Player, pev_weaponanim, Sequence) message_begin(MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, .player = Player) write_byte(Sequence) write_byte(pev(Player, pev_body)) message_end() } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par } */
Link: | |
Linklerini gizle |
-
Konu Sahibi - Mesajlar: 49
- Kayıt: Prş Eki 29, 2020 1:35 am
CS 1.6 CS GO Inspect Plugini Çalışmıyor
Tamamdır sorun çözüldü hocam çok teşekkürlerwhygh0st yazdı: Pzt Kas 16, 2020 1:12 amÇalışmıyor hocam. Bir türlü olmuyor anlamadım gitti. Silahları değiştirmek için GHW_Weapon_Replacement kullanıyorum. Onla bir ilgisi olabilir mi?PaZee yazdı: Cum Kas 13, 2020 2:51 amİyi Forumlar dilerim.Kod: Tümünü seç
#include <amxmodx> #include <cstrike> #include <engine> #include <fakemeta> #include <hamsandwich> #include <amxmisc> const XoWeapon = 4; const m_pPlayer = 41; const m_flTimeWeaponIdle = 48; const m_fInReload = 54; const m_pActiveItem = 373; new g_inspect_toggle[33]; new inspect_anim[] = { 0, //null 7, //p228 0, //shield 5, //scout 0, //hegrenade 7, //xm1014 0, //c4 6, //mac10 6, //aug 0, //smoke grenade 16, //elites 6, //fiveseven 6, //ump45 5, //sg550 6, //galil 6, //famas 16, //usp 13, //glock 6, //awp 6, //mp5 5, //m249 7, //m3 14, //m4a1 6, //tmp 5, //g3sg1 0, //flashbang 6, //deagle 6, //sg552 6, //ak47 8, //knife 6 //p90 } new weapon_ent[][] = { "weapon_p228", "weapon_scout", "weapon_xm1014", "weapon_mac10", "weapon_aug", "weapon_elite", "weapon_fiveseven", "weapon_ump45", "weapon_sg550", "weapon_galil", "weapon_famas", "weapon_usp", "weapon_glock18", "weapon_awp", "weapon_mp5navy", "weapon_m249", "weapon_m3", "weapon_m4a1", "weapon_tmp", "weapon_g3sg1", "weapon_deagle", "weapon_sg552", "weapon_ak47", "weapon_knife", "weapon_p90" } public plugin_init() { register_plugin("CS:GO Inspect Weapon", "3.0", "hellmonja"); register_impulse(100, "Inspect_Weapon") register_clcmd("salla","Inspect_Weaponr2",ADMIN_RCON,"efect") for(new i = 0; i < sizeof weapon_ent; i++) RegisterHam(Ham_Item_Deploy, weapon_ent[i], "Fw_ItemDeployPost", 1); } public Fw_ItemDeployPost(weapon) { static id; id = get_pdata_cbase(weapon, m_pPlayer, 4); if(!is_user_alive(id)) return remove_task(id); g_inspect_toggle[id] = 0; set_task(1.0, "Enable_Inspect", id); } public Inspect_Weaponr2(id,level,cid) { if (!cmd_access(id,level,cid,3)) return PLUGIN_HANDLED new argument[20] read_argv(1,argument,19) new wpn_id = get_user_weapon(id); static weapon; weapon = get_pdata_cbase(id, m_pActiveItem); set_pdata_float(weapon, m_flTimeWeaponIdle, 7.0, 4); new anim = str_to_num(argument) if(g_inspect_toggle[id] && !get_pdata_int(weapon, m_fInReload, XoWeapon)) PlayWeaponAnimation(id,anim) return PLUGIN_HANDLED; } public Inspect_Weapon(id) { new wpn_id = get_user_weapon(id); static weapon; weapon = get_pdata_cbase(id, m_pActiveItem); set_pdata_float(weapon, m_flTimeWeaponIdle, 7.0, 4); new anim; switch(wpn_id) { case CSW_M4A1: if(!cs_get_weapon_silen(weapon)) anim = 15; else anim = inspect_anim[wpn_id]; case CSW_USP: if(!cs_get_weapon_silen(weapon)) anim = 17; else anim = inspect_anim[wpn_id]; default: anim = inspect_anim[wpn_id]; } if(g_inspect_toggle[id] && !get_pdata_int(weapon, m_fInReload, XoWeapon)) PlayWeaponAnimation(id,anim) return PLUGIN_HANDLED; } public Enable_Inspect(id) { g_inspect_toggle[id] = 1; } stock PlayWeaponAnimation(const Player, const Sequence) { set_pev(Player, pev_weaponanim, Sequence) message_begin(MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, .player = Player) write_byte(Sequence) write_byte(pev(Player, pev_body)) message_end() } /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1033\\ f0\\ fs16 \n\\ par } */

Link: | |
Linklerini gizle |
-
- Mesajlar: 53
- Kayıt: Prş Eyl 10, 2020 1:58 pm