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

halfd Interface - Interfaces between halfd and Amxmodx


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   EKS (167)
Zor
Veteran Member
Join Date: Mar 2004
Location: Toronto, ON
Old 02-09-2006 , 16:44   halfd Interface - Interfaces between halfd and Amxmodx
Reply With Quote #1

This plugin will interface with halfd from Amxmodx. Its a modified copy of one from Adminmod:

http://jase.dodfi.net/plugin_halfd.sma

Commands:
Quote:
amxx_bot_kick
amxx_hd
amxx_hd_tkon
amxx_hd_tkoff
amxx_hd_startvote
amxx_hd_stopvote
amxx_hd_voteon
amxx_hd_voteoff
amxx_hd_force
amxx_hd_foulon
amxx_hd_fouloff
amxx_hd_pingon
amxx_hd_pingoff
amxx_hd_weapon
amxx_hd_weapoff
amxx_hd_weap
amxx_hd_weapdef
amxx_hd_maxoff
amxx_hd_decay
amxx_hd_decayp
amxx_hd_fortune
amxx_hd_hboff
amxx_hd_hbon
amxx_hd_tauntsoff
amxx_hd_tauntson
Versioning:
Quote:
v0.1
- This is a port from adminmod to amxmodx
v0.2
- Made it compatiable with halfd thanks goes out to zibit!
Cheers!
Attached Files
File Type: sma Get Plugin or Get Source (amxx_halfd.sma - 1128 views - 25.8 KB)
File Type: txt halfd.txt (617 Bytes, 315 views)
__________________
Zor is offline
Send a message via AIM to Zor Send a message via MSN to Zor Send a message via Yahoo to Zor
pendragon
Senior Member
Join Date: Mar 2004
Location: In a bubble
Old 02-09-2006 , 16:46   Re: halfd Interface - Interfaces between halfd and Amxmodx
Reply With Quote #2

Quote:
Originally Posted by Zor
http://jase.dodfi.net/plugin_halfd.sma
dead link and site.
__________________
pendragon is offline
Send a message via ICQ to pendragon Send a message via AIM to pendragon Send a message via MSN to pendragon
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-09-2006 , 16:49  
Reply With Quote #3

Code:
#include <lang>
Not needed.

Also change the mod to "DOD".
Brad is offline
Zor
Veteran Member
Join Date: Mar 2004
Location: Toronto, ON
Old 02-09-2006 , 17:13  
Reply With Quote #4

@pendragon

Good thing I made an Amxmodx version

@Brad

Lang is needed unless its no longer neccessary? Also its not DoD, it was written by me initially for the DoD Community at www.DoDPlugins.net, then thought others may need it.

Cheers!
__________________
Zor is offline
Send a message via AIM to Zor Send a message via MSN to Zor Send a message via Yahoo to Zor
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-09-2006 , 19:29  
Reply With Quote #5

My apologies, I just breezed through the code and saw a bunch of stuff that I didn't recognize for CS (ex: decay rate). I also saw references to DOD in there so I assumed...

At any rate, no "lang" is not needed.
Brad is offline
Zor
Veteran Member
Join Date: Mar 2004
Location: Toronto, ON
Old 02-12-2006 , 10:11  
Reply With Quote #6

@Brad

Got it, lang is now included in amxmodx, ok, not that it matters much. Actually not that it matters at all. Redundancy is fine, so long as its not causing errors which it doesn't, after all thats why the programmers have added:

Code:
#if defined _lang_included
  #endinput
#endif
#define _lang_included
Cheers!
__________________
Zor is offline
Send a message via AIM to Zor Send a message via MSN to Zor Send a message via Yahoo to Zor
Twilight Suzuka
bad
Join Date: Jul 2004
Location: CS lab
Old 02-12-2006 , 20:56  
Reply With Quote #7

No, but its still bad coding practice.
__________________
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
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 05:11.


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