AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Kill Distance (https://forums.alliedmods.net/showthread.php?t=14493)

nightscreem 06-22-2005 11:08

Kill Distance
 
1 Attachment(s)
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

Reignman 06-22-2005 13:41

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?

nightscreem 06-22-2005 14:42

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

Reignman 06-22-2005 15:47

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

those are the 3 I'm interested in

v3x 06-22-2005 20:05

Yea, I want feet (or yards). :)

n0obie4life 06-22-2005 22:59

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)

TOZ|Zek3 06-23-2005 02:13

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

n0obie4life 06-23-2005 02:24

never mind it. you still can use the plugin.

most prolly he forgot to hit a tab or wateva.

nightscreem 06-23-2005 07:27

i gonna add those things and use the auto intender next update

nightscreem 08-19-2005 11:27

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


All times are GMT -4. The time now is 11:33.

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