Raised This Month: $32 Target: $400
 8% 

Remove the bomb and hostages 1.30


Post New Thread Reply   
 
Thread Tools Display Modes
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 02-22-2006 , 13:41  
Reply With Quote #11

Quote:
Originally Posted by FreaK
why don't you just include this with the ctf mod cause if you didnt have ctf whats the point of this game.
There are more mods where this can help, Hide N Seek is one of them.
__________________
Um, hi.
Ramono is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 02-22-2006 , 17:29  
Reply With Quote #12

Quote:
Originally Posted by Ramono
Quote:
Originally Posted by -=STN=- MaGe
i notice alot of crashing. maybe a different plugin tho.
With what message it crashes?

( Ill try to do v3x idea tonight or tomorow )
If you get stuck check out twisty's DM plugin ;]
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Lt Llama
Senior Member
Join Date: Aug 2004
Old 02-23-2006 , 16:00  
Reply With Quote #13

GJ on the plugin Ramon.
Lt Llama is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 03-02-2006 , 12:03  
Reply With Quote #14

Sorry for the delay, updated.
__________________
Um, hi.
Ramono is offline
[P]Latinum
Junior Member
Join Date: Mar 2006
Old 03-07-2006 , 12:14  
Reply With Quote #15

gj very usefull for mods who dont do this
__________________
[P]latinum
[P]Latinum is offline
T(+)rget
Senior Member
Join Date: Mar 2004
Old 03-10-2006 , 20:44  
Reply With Quote #16

There is this method which doesn't cause crashing at all with removing hostage_entity.

Removing Entities Safely
T(+)rget is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 03-11-2006 , 03:49  
Reply With Quote #17

Quote:
Originally Posted by T(+)rget
There is this method which doesn't cause crashing at all with removing hostage_entity.

Removing Entities Safely
Is this correct?
Code:
public nohos() {     if(get_cvar_num("amx_nobombhos") == 1)         {         new iHos = find_ent_by_class(-1, "hostage_entity")         while(iHos != 0)             {             entity_set_int(iHos, EV_INT_flags, FL_KILLME)             iHos = find_ent_by_class(iHos, "hostage_entity")         }         new jHos = find_ent_by_class(-1, "monster_scientist")         while(jHos != 0)             {             entity_set_int(jHos, EV_INT_flags, FL_KILLME)             iHos = find_ent_by_class(jHos, "monster_scientist")         }     } }

If it is correct, ill test it later today.
__________________
Um, hi.
Ramono is offline
T(+)rget
Senior Member
Join Date: Mar 2004
Old 03-11-2006 , 05:33  
Reply With Quote #18

Yes apart from this:
iHos = find_ent_by_class(iHos, "info_player_deathmatch")

I think you see the mistake

Also with the searching do this:
while(iHos > get_maxplayers())

When doing this kind of searching its best to start from this offset, I know long time ago when Vexd showed off examples he always did != 0, however > get_maxplayers() is the best method. Reason is that you know the entity your searching for is going to be higher than maximum players slots.
T(+)rget is offline
Ramono
Veteran Member
Join Date: Nov 2005
Location: Netherlands
Old 03-11-2006 , 06:11  
Reply With Quote #19

--> deleted.. dumb question <--
^_^
__________________
Um, hi.
Ramono is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 03-11-2006 , 06:13  
Reply With Quote #20

O_o


I think you misread what he said / is talking about, or you phrased your question extremely poorly.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Reply



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 06:07.


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