Cs 1.6 Base Builder icin build time sürecinde ct de godmode olmasını sağlayacak bi kod varmı
Konu
PHP Kod:
#include <amxmodx>
#include <reapi>
#include <basebuilder>
new const PLUGIN[] = "Build_Time_GODMode";
new const VERSION[] = "1.0";
new const AUTHOR[] = "By.KinG";
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
RegisterHookChain(RG_CBasePlayer_Spawn, "CBasePlayer_Spawn", .post = true);
}
public CBasePlayer_Spawn(ID)
{
if(!bb_get_build_time())set_entvar(ID, var_takedamage, DAMAGE_AIM);
else set_entvar(ID, var_takedamage, DAMAGE_NO);
}
(29-03-2020, 23:08)By.KinG Adlı Kullanıcıdan Alıntı:sıkıntı şu oldu build time sonrasında ct ölebiliyor ama t ölümsüz kalıyor. sanırsam ct revlendiği için gidiyor ama t ölümsüz , t yi revlemeden bi çözüm bulabilirmiyiz ?PHP Kod:#include <amxmodx>
#include <reapi>
#include <basebuilder>
new const PLUGIN[] = "Build_Time_GODMode";
new const VERSION[] = "1.0";
new const AUTHOR[] = "By.KinG";
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
RegisterHookChain(RG_CBasePlayer_Spawn, "CBasePlayer_Spawn", .post = true);
}
public CBasePlayer_Spawn(ID)
{
if(!bb_get_build_time())set_entvar(ID, var_takedamage, DAMAGE_AIM);
else set_entvar(ID, var_takedamage, DAMAGE_NO);
}
PHP Kod:
#include <amxmodx>
#include <reapi>
#include <basebuilder>
new const PLUGIN[] = "Build_Time_GODMode";
new const VERSION[] = "1.0";
new const AUTHOR[] = "By.KinG";
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
RegisterHookChain(RG_CBasePlayer_Spawn, "CBasePlayer_Spawn", .post = true);
}
public CBasePlayer_Spawn(ID)
{
if(!bb_get_build_time() && !bb_is_user_zombie(ID))set_entvar(ID, var_takedamage, DAMAGE_AIM);
else set_entvar(ID, var_takedamage, DAMAGE_NO);
}
Kendimiz yaptık Konu Çözülmüştür. Teşekkürler. @By.KinG Konuyu Çözülmüş Isteklere Taşıyabilirsiniz.
Son Düzenleme: 30-03-2020, 20:18, Düzenleyen: TerminatorGaming.
(30-03-2020, 19:30)By.KinG Adlı Kullanıcıdan Alıntı:Sorunumuz düzeltildi ilginiz için teşşekkürlerPHP Kod:#include <amxmodx>
#include <reapi>
#include <basebuilder>
new const PLUGIN[] = "Build_Time_GODMode";
new const VERSION[] = "1.0";
new const AUTHOR[] = "By.KinG";
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);
RegisterHookChain(RG_CBasePlayer_Spawn, "CBasePlayer_Spawn", .post = true);
}
public CBasePlayer_Spawn(ID)
{
if(!bb_get_build_time() && !bb_is_user_zombie(ID))set_entvar(ID, var_takedamage, DAMAGE_AIM);
else set_entvar(ID, var_takedamage, DAMAGE_NO);
}
Benzer Konular
Yorum
46.839
Okunma
)

