Raised This Month: $ Target: $400
 0% 

Bomb explode & hostage rescue event


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 08-30-2005 , 17:18   Bomb explode & hostage rescue event
Reply With Quote #1

how can i check when the bomb explode
__________________
- Bye bye!
nightscreem is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 08-30-2005 , 17:27  
Reply With Quote #2

Method 1:
Code:
register_event("23","Event_TargetBombed","a","1=17","6=-105","7=17");
Method 2:

In your plugin_init put this:
Code:
register_event("SendAudio","Event_BombPlanted","a","2&%!MRAD_BOMBPL"); register_event("SendAudio","RemoveBombTask","a","2&%!MRAD_BOMBDEF"); register_logevent("RemoveBombTask",2,"0=World triggered","1=Round_End");
Then make 2 functions like so:
Code:
public Event_BombPlanted() {     set_task(get_cvar_float("mp_c4timer"),"BombExploded",3821); } public RemoveBombTask() {     if(task_exists(3821))         remove_task(3821); }
Then make another function for when the bomb goes off:
Code:
public BombExploded() {     client_print(0,print_chat,"The bomb has exploded"); }
I think that'd work ;)
__________________
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
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 08-30-2005 , 20:43  
Reply With Quote #3

oh k thx v3x i searched in meta game but couldn't find anything how did
you find this
__________________
- Bye bye!
nightscreem is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 08-30-2005 , 20:46  
Reply With Quote #4

Found the first event from a search, and the rest from various plugins of mine..
__________________
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
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 08-31-2005 , 11:26  
Reply With Quote #5

how to get the hostage rescue event
so when all hostages are rescued they ct's get a message
i searched for hostage rescue event but couldn't find anything
__________________
- Bye bye!
nightscreem is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 09-01-2005 , 11:39  
Reply With Quote #6

someone pls i need this badly
__________________
- Bye bye!
nightscreem is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-01-2005 , 14:09  
Reply With Quote #7

Code:
register_event("TextMsg","host_res","a","2&#All_Hostages_R");
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 09-01-2005 , 19:35  
Reply With Quote #8

oh ok thx
how did you know this
__________________
- Bye bye!
nightscreem is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 09-01-2005 , 23:26  
Reply With Quote #9

There was an event announcer for AMX(notx) and I looked at the source to see how they hooked it.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 09-02-2005 , 12:48  
Reply With Quote #10

oh k thx
__________________
- Bye bye!
nightscreem is offline
Reply


Thread Tools
Display Modes

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 14:33.


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