Raised This Month: $ Target: $400
 0% 

remove hostage + bombsite


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
kp_uparrow
Penalized Member
Join Date: Jun 2006
Location: 192.168.0.1
Old 08-12-2007 , 20:46   remove hostage + bombsite
Reply With Quote #1

how can i remove hostages and bombsites?

i have looked at no objectives + no round timer, i want the round timer and i want the round to end @ 0:00, but this plugin checks every entity spawn which is not the way i want it to

so i just want to find hostage entity and bomb site entity and remove them

can i do this?

Code:
new const g_objective_ents[][] = {     "func_bomb_target",     "info_bomb_target",     "hostage_entity",     "monster_scientist",     "func_hostage_rescue",     "info_hostage_rescue",     "info_vip_start",     "func_vip_safetyzone",     "func_escapezone" } ..... new items for (i = 0; i < sizeof g_objective_ents; ++i) { //++i or i++?  items = find_ent_by_class(-1, g_objective_ents[i])     while(items)     {         remove_entity(items)         items = find_ent_by_class(items, g_objective_ents[i])     } }
__________________
I USED A SECOND ACCOUNT TO DO MORE KARMA UPS AND DOWNS UNTIL GREENTRYST CAUGHT ME
kp_uparrow 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 07:58.


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