DegNizzTR Adlı Kullanıcıdan Alıntı: Yoruma gitKod:#include <amxmodx> #include <reapi> public plugin_init() { register_plugin("Knife_Speed","V1.0","DegNizzTR"); RegisterHookChain(RG_CBasePlayer_PreThink,"KnifeSpeed"); } public KnifeSpeed(id){ if(get_user_weapon(id) == CSW_KNIFE) set_entvar(id,var_maxspeed,300.0); else set_entvar(id,var_maxspeed,250.0); }
#include <amxmodx> #include <reapi> public plugin_init() { register_plugin("Knife_Speed","V1.0","DegNizzTR"); RegisterHookChain(RG_CBasePlayer_PreThink,"KnifeSpeed"); } public KnifeSpeed(id){ if(get_user_weapon(id) == CSW_KNIFE) set_entvar(id,var_maxspeed,300.0); else set_entvar(id,var_maxspeed,250.0); }