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

Kill Distance


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Event Related        Approver:   devicenull (200)
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 06-22-2005 , 11:08   Kill Distance
Reply With Quote #1

Code:
AMXX Kill Distance Author: Nightscream Help: Kleenex Version: 0.3 =============================================== Description: If Someone kills an enemy/teammate it will give a hud message to see from how far you killed him in meters made on request <a href="http://forums.alliedmods.net/showthread.php?t=14464" target="_blank" rel="nofollow noopener">http://forums.alliedmods.net/showthread.php?t=14464</a> =============================================== Cvars: distance_meter    0 = Feet                       1 = Meter             ditance_all  0 = shows text only to killer                    1= shows text to everyone =============================================== Tested on: Listen server | condition-zero | Windows XP Home | amxx 1.55 =============================================== Changelog: 0.1 - Release for amxx 0.2 - Added Distance in Feet 0.3 - Added distance_all cvar so text can be showed to everyone/killer =============================================== suggestions are always welcome
Attached Files
File Type: sma Get Plugin or Get Source (kill-distance.sma - 12185 views - 2.9 KB)
__________________
- Bye bye!
nightscreem is offline
Reignman
Junior Member
Join Date: Jun 2005
Location: Minnesota
Old 06-22-2005 , 13:41  
Reply With Quote #2

Man, that was quick ... "log_message" is similar to "show_hudmessage" 'cept instead of sending the message to your screen it sends the info to HL regular log files (where stats are collected). Do you know how to do that?
Reignman is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 06-22-2005 , 14:42  
Reply With Quote #3

yes offcourse i do it later k

so next releases:
distance in meter or feet
log message
with what gun you where killed

ideas always welcome
__________________
- Bye bye!
nightscreem is offline
Reignman
Junior Member
Join Date: Jun 2005
Location: Minnesota
Old 06-22-2005 , 15:47  
Reply With Quote #4

1. distance in "feet"
2. if it was a "headshot"
3. "log_message"

those are the 3 I'm interested in
Reignman is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 06-22-2005 , 20:05  
Reply With Quote #5

Yea, I want feet (or yards).
__________________
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
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 06-22-2005 , 22:59  
Reply With Quote #6

i want cm and km (really).

make it so that if it was like a knife kill, it will be shown in cm, then if it was a n awp kill, its in km (awp normally is far x.x)
__________________
Plugins:
none

n0obie4life is offline
TOZ|Zek3
Junior Member
Join Date: Oct 2004
Location: Uppsala, Sweden
Old 06-23-2005 , 02:13  
Reply With Quote #7

Getting warnings when compiling this one.

Quote:
/home/groups/amxmodx/tmp/phpJ5t3XT.sma(51) : warning 217: loose indentation
/home/groups/amxmodx/tmp/phpJ5t3XT.sma(65) : warning 217: loose indentation

2 Warnings.
Done.
tried the webcompiler too with the same warnings
TOZ|Zek3 is offline
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 06-23-2005 , 02:24  
Reply With Quote #8

never mind it. you still can use the plugin.

most prolly he forgot to hit a tab or wateva.
__________________
Plugins:
none

n0obie4life is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 06-23-2005 , 07:27  
Reply With Quote #9

i gonna add those things and use the auto intender next update
__________________
- Bye bye!
nightscreem is offline
nightscreem
Veteran Member
Join Date: Jul 2004
Location: Belgium
Old 08-19-2005 , 11:27  
Reply With Quote #10

Version 0.2
  • 0.2 - Added Distance in Feet(with a cvar distance_meter)

NOTE: I HOPE THIS WORKS COULDN'T TEST THIS BECAUSE
MY PC IS BROKEN
pls post and say if this works
__________________
- 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 19:45.


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