Raised This Month: $94 Target: $400
 23% 

mortar kill announce (SidLuke)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Day of Defeat        Category:   Event Related        Approver:   Johnny got his gun (102)
heroshina
Junior Member
Join Date: May 2004
Old 06-13-2004 , 19:34   mortar kill announce (SidLuke)
Reply With Quote #1

this is just a simple mortar kill announcement plugin for dod and i wanted to do this because dod doesn't have very many plugins only specified to it in AMXX and the original author of this plugin is SidLuke

this is my first time scripting so get back to me on the details guys.

hope you enjoy

only one cvar:
"amx_mortarkill" to enable,disable plugin ( 0=off,1=on)
Attached Files
File Type: sma Get Plugin or Get Source (mortar_event.sma - 2220 views - 1.3 KB)
heroshina is offline
thomasho
New Member
Join Date: May 2004
Location: Taiwan
Old 06-14-2004 , 01:12  
Reply With Quote #2

Could you tell me that amx_mortarkill adds in amxx.cfg or server.cfg?
thomasho is offline
heroshina
Junior Member
Join Date: May 2004
Old 06-15-2004 , 00:31  
Reply With Quote #3

put it in your amxx.cfg because you exec it through your server.cfg anyways.
if not add "exec addons/amxx/configs/amxx.cfg" to your server.cfg and add the mortar kill thing to your amxx.cfg.
heroshina is offline
Girthesniper
Senior Member
Join Date: Mar 2004
Location: Maryland
Old 06-15-2004 , 14:48  
Reply With Quote #4

If you want, I can make a cool sound for this. Tell me what you wanted say'd And I'll make it from AT&T Natural Voices. Here is a sample I used for ZBattle.net. Clicky.
__________________
BANNED
Girthesniper is offline
Send a message via AIM to Girthesniper Send a message via MSN to Girthesniper
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 06-15-2004 , 15:12  
Reply With Quote #5

Code:
  if ( get_cvar_float("amx_mortarkill") )
Should be changed to:
Code:
  if ( get_cvar_num("amx_mortarkill") )

You also forgot:
- If you didn't write the plugin: put the name of the author to the topic and to the post.
EKS is offline
Girthesniper
Senior Member
Join Date: Mar 2004
Location: Maryland
Old 06-15-2004 , 15:26  
Reply With Quote #6

Quote:
Originally Posted by EKS
You also forgot:
- If you didn't write the plugin: put the name of the author to the topic and to the post.
Did he take it from someother plugin?
__________________
BANNED
Girthesniper is offline
Send a message via AIM to Girthesniper Send a message via MSN to Girthesniper
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 06-15-2004 , 15:32  
Reply With Quote #7

* This plugin was made by Sidluke but was edited by
* Heroshima.
EKS is offline
SidLuke
Senior Member
Join Date: Mar 2004
Location: Poland, Chrzanow
Old 06-15-2004 , 16:14  
Reply With Quote #8

Quote:
Originally Posted by EKS
Code:
  if ( get_cvar_float("amx_mortarkill") )
Should be changed to:
Code:
  if ( get_cvar_num("amx_mortarkill") )

You also forgot:
- If you didn't write the plugin: put the name of the author to the topic and to the post.
1) Yes, get_cvar_num is better . I did this plugin so long ago

2) eh, it's nothing

Mortar kill is/will be in DoDX stats plugin just like in was in dodxmod.
This, is a good option for all who don't want to use dod module, just main amx.
SidLuke is offline
Send a message via AIM to SidLuke Send a message via MSN to SidLuke
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 06-16-2004 , 10:01  
Reply With Quote #9

Well still pls follow the rules, put original author between ()s. I'd hate to delete more of your plugins from here.
Johnny got his gun is offline
heroshina
Junior Member
Join Date: May 2004
Old 06-19-2004 , 12:34  
Reply With Quote #10

ok i changed te name of the title and edited the .sma file and posted the new one up there.
heroshina 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 23:04.


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