| EAgleAzul |
03-09-2009 12:29 |
Hostage rescue Help
couldn't understand why this code doesn't work: :cry:
please help to work
PHP Code:
#include <amxmodx> #include <cstrike> #include <hamsandwich> #define PLUGIN "Don't Steal My Fucking Hostages" #define AUTHOR "ConnorMcLeod" #define VERSION "0.0.1" public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) RegisterHam( Ham_Use, "hostage_entity" , "Hostage_Use") } public Hostage_Use(iHostage, id) { new iFollow = cs_get_hostage_foll(iHostage) if( iFollow && iFollow != id ) { return HAM_SUPERCEDE } return HAM_IGNORED }
server works well
PHP Code:
] meta list Currently loaded plugins: description stat pend file vers src load unlod [ 1] AMX Mod X RUN - amxmodx_mm.dll v1.8.1.3 ini Start ANY [ 2] Monster RUN - monster_mm.dll v3.02.01 ini Chlvl Chlvl [ 3] FakeMeta RUN - fakemeta_amxx.dl v1.8.1.3 pl1 ANY ANY [ 4] CStrike RUN - cstrike_amxx.dll v1.75 pl1 ANY ANY [ 5] Fun RUN - fun_amxx.dll v1.8.1.3 pl1 ANY ANY [ 6] Engine RUN - engine_amxx.dll v1.8.1.3 pl1 ANY ANY [ 7] Ham Sandwich RUN - hamsandwich_amxx v1.8.1.3 pl1 ANY ANY [ 8] CSX RUN - csx_amxx.dll v1.75 pl1 ANY ANY 8 plugins, 8 running
To avoid that, when the hostage rescue team could not take off until the CT is killed
grateful for your help in advance
|