 |
|
Veteran Member
Join Date: Mar 2007
Location: Lithuania
|

04-08-2009
, 05:40
Re: JUMP
|
#6
|
Quote:
Originally Posted by Starsailor
test this
PHP Code:
#include <amxmodx> #include <hamsandwich> #include <cstrike> #include <fakemeta> 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) { if (!(damage_type & DMG_FALL)) return HAM_IGNORED; if(cs_get_user_team (id) != CS_TEAM_T) return HAM_IGNORED; return HAM_SUPERCEDE; }
|
Why did you write "!= CS_TEAM_T" when originally it was "== CS_TEAM_T"?
__________________
|
|
|
|