Raised This Month: $12 Target: $400
 3% 

How to get event end_round + other misc Q's?


Post New Thread Reply   
 
Thread Tools Display Modes
Front Line
Senior Member
Join Date: Jan 2005
Old 07-12-2005 , 01:37  
Reply With Quote #11

Quite VI

This is an example from the starwars plugin i am doing...
It plays that theme when a team wins...

Code:
public plugin_init() {     register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")     register_event("SendAudio", "ct_win", "a", "2&%!MRAD_ctwin") } public t_win() {     client_cmd(0, "spk misc/DVTheme")     return PLUGIN_HANDLED } public ct_win() {     client_cmd(0, "spk misc/JediTheme")     return PLUGIN_HANDLED }

Hopefully this helps u...
If not dunt hesitate to reply...
__________________
My plugins...

Are all Here...Click Me
Front Line is offline
BlackSmith
New Member
Join Date: Jul 2005
Location: Europe, Finland
Old 07-12-2005 , 07:53  
Reply With Quote #12

Dosen't the enginge have globale event for round ending? (damn stupid if not) Thus the thing im tinkering would work in any mod.
Quote:
Originally Posted by VanillA Ice
You wouldnt need to colums...
Yes i need.
Firt colum will containg all filtered player id's my for loop is collecting and the second collum will contain some nice numerical value. Based on that numerical value (that are in turn filtered) i will do something for the id that is in the same row.
BlackSmith is offline
Send a message via ICQ to BlackSmith Send a message via MSN to BlackSmith
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 07-12-2005 , 14:15  
Reply With Quote #13

Quote:
Originally Posted by Front Line
Quite VI

This is an example from the starwars plugin i am doing...
It plays that theme when a team wins...

Code:
public plugin_init() {     register_event("SendAudio", "t_win", "a", "2&%!MRAD_terwin")     register_event("SendAudio", "ct_win", "a", "2&%!MRAD_ctwin") } public t_win() {     client_cmd(0, "spk misc/DVTheme")     return PLUGIN_HANDLED } public ct_win() {     client_cmd(0, "spk misc/JediTheme")     return PLUGIN_HANDLED }

Hopefully this helps u...
If not dunt hesitate to reply...
Code:
return PLUGIN_CONTINUE
__________________
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
WaZZeR++
Veteran Member
Join Date: Mar 2005
Location: Sweden
Old 07-12-2005 , 15:39  
Reply With Quote #14

think it will play 2 sounds then v3x...
WaZZeR++ is offline
Send a message via MSN to WaZZeR++
twistedeuphoria
Veteran Member
Join Date: Jul 2004
Old 07-12-2005 , 15:40  
Reply With Quote #15

You can't declare arrays with dynamic sizes in Small.

Edit: Player IDs are 1-32 so you can just create an array new array[33] and put a value in each of those. The array index will be equal to the Player ID that you want.
__________________
twistedeuphoria is offline
VanillA Ice
Senior Member
Join Date: Apr 2005
Old 07-12-2005 , 16:35  
Reply With Quote #16

what he said.....



told you... only jk
__________________
I can no longer help here......school has started... :/ goodbye everybody :'(
VanillA Ice is offline
Send a message via MSN to VanillA Ice Send a message via Yahoo to VanillA Ice
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-14-2014 , 14:11   Re: How to get event end_round + other misc Q's?
Reply With Quote #17

dude just view pawn tutorials
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 10-14-2014 , 14:24   Re: How to get event end_round + other misc Q's?
Reply With Quote #18

Quote:
Originally Posted by Natsheh View Post
dude just view pawn tutorials
dude y u so dum?
klippy is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-14-2014 , 14:29   Re: How to get event end_round + other misc Q's?
Reply With Quote #19

What....? Ididnt read the whole posts
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 10-14-2014 , 14:30   Re: How to get event end_round + other misc Q's?
Reply With Quote #20

This theard is from 2005, why are you posting here ?
__________________
HamletEagle 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 08:14.


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