|
Author
|
Message
|
|
Junior Member
|

04-07-2009
, 18:16
JUMP
|
#1
|
Hi I have a problem that the plugin I wrote after the terrorists do not jump from a height hp and I took some issue can someone fix it?
PHP Code:
#include <amxmodx> #include <hamsandwich> #include <hlsdk_const> #include <cstrike>
public plugin_precache() { register_plugin("Hp Skok", "1.0", "Autor") RegisterHam(Ham_TakeDamage, "player", "skok") }
public skok(id, victim, inflictor, attacker, Float:damage, damage_type) damage_type) { if (!(damage_type & DMG_FALL)) return HAM_IGNORED;
if(cs_get_user_team (id) == CS_TEAM_T) return HAM_IGNORED; return HAM_SUPERCEDE; }
Last edited by spedd; 04-07-2009 at 18:21.
|
|
|
|