Raised This Month: $ Target: $400
 0% 

pfn_spawn - NEED HELP


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Killhim
Junior Member
Join Date: Jan 2007
Old 01-14-2007 , 02:32   Re: pfn_spawn - NEED HELP
Reply With Quote #9

Code:
#include <amxmodx> #include <amxmisc> #include <fun> #include <cstrike> #include <engine> public plugin_init() {         register_plugin ( "No objectives", "0.1a", "Killhim" );     if (!cvar_exists("cvar_ctf_enabled"))     {             register_cvar("cvar_ctf_enabled","1");     } } public pfn_spawn(entid) {     if (get_cvar_num("cvar_ctf_enabled") == 0)     {             return PLUGIN_CONTINUE     }     if(!is_valid_ent(entid)) return PLUGIN_HANDLED     new class[51]     entity_get_string(entid,EV_SZ_classname,class,50)     if(equali(class,"hostage_entity"))     {         remove_entity(entid)         return PLUGIN_HANDLED     }     if(equali(class,"func_hostage_rescue"))     {         remove_entity(entid)         return PLUGIN_HANDLED     }     if(equal(class,"func_bomb_target"))     {         remove_entity(entid)         return PLUGIN_HANDLED     }     if(equal(class,"info_bomb_target"))     {         remove_entity(entid)         return PLUGIN_HANDLED     }         if(equal(class,"func_escapezone"))     {         remove_entity(entid)         return PLUGIN_HANDLED     }         if(equal(class,"func_vip_safteyzone"))     {         remove_entity(entid)         return PLUGIN_HANDLED     }         if(equal(class,"func_vip_start"))     {         remove_entity(entid)         return PLUGIN_HANDLED     }         return PLUGIN_CONTINUE }
Still not working... :S:S:S Well if no one can help me for this, is there an other way to make never-endings rounds? Thx guys, I really need this!
Killhim is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:25.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode