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

Status Report (v1.3.9b)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Natural Selection        Category:   Gameplay        Approver:   Johnny got his gun (102)
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 09-10-2004 , 17:55   Status Report (v1.3.9b)
Reply With Quote #1

Code:
/*
* This plugin let you show your status to team mates in a custom text
* include the symbols below into your chat
*
* %a	-	replaced by your current armor
* %c	-	replaced by your current class
* %e	-	replaced by number of sighted enemies in range
* %f	-	replaced by number of sighted friends in range
* %h	-	replaced by your current health
* %k	-	replaced by playername of last killer
* %l	-	replaced by the name of the location you are currently in
* %r	-	replaced by amount of res (aliens only)
* %t	-	replaced by last player in crosshair for about a second
* %v	-	replaced by playername of last victim
*
* eg: say "HP: %h AP: %a Class: %c Enemies: %e Friends: %f Res: %r Killer: %k Victim: %v" will show
*	"<yourname>: HP: 70 AP: 10 Class: Skulk Enemies: 2 Friends: 3 Res: 33 Killer: NSPlayer Victim: Mr. X"
*
* by White Panther
*
* INFO:
*	%l (location) only works when there are at least two players, otherwise it will be blank
*
* v1.0:
*	- initial release
*
* v1.1:
*	- bug fix (thx Steve_Dudenhoeffer)
*
* v1.2.4:
*	- new features
*	- included antiflood (original code, just adjusted)
*
* v1.3.3b:
*	- changed way of getting message
*	- antiflood is not implemented anymore (you can use the standard antiflood)
*	- new feature (%l = location)
*	- fix of possible error
*	- moved from ns2amx to engine + fakemeta + ns
*	- fixed bug for 32 players
*
* v1.3.4:
*	- fixed:
*		- minor error with message
*
* v1.3.5:
*	- changes:
*		- moved from pev/set_pev to entity_get/entity_set (no fakemeta)
*
* v1.3.6:
*	- changed:
*		- back to pev/set_pev
*		- code improvements
*
* v.1.3.7:
*	- added:
*		- "%t" = last player in crosshair for about a second
*	- changed:
*		- partly rewritten
*
* v.1.3.8:
*	- added:
*		- Helper support
*
* v.1.3.9:
*	- fixed:
*		- %c was replaced with wrong class
*
* v1.3.9b:
*	- changed:
*		- removed superfluous helper function
*/

#include <amxmodx>
#include <engine>
#include <ns>
IMPORTANT:
in official maps %l dont return the name u see on the hud.
this is so beacuse i am reading the names from engine, but NS changes these name later with the names in the titles.txt
but u can still recognize the name and in custom maps the names are normal

Status Report (download here)

get helper.inc from this thread HERE
Attached Files
File Type: sma Get Plugin or Get Source (status_report.sma - 1268 views - 8.5 KB)
__________________
alias White Panther

Last edited by karlos; 02-26-2008 at 19:35.
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 09-20-2004 , 14:14  
Reply With Quote #2

UPDATE:
- changed way of getting message
- antiflood is not implemented anymore (you can use the standard antiflood)
- new feature (%l = location)
__________________
alias White Panther
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 10-19-2004 , 14:47  
Reply With Quote #3

UPDATE:
- fix of possible error
__________________
alias White Panther
karlos is offline
ktrain
Senior Member
Join Date: Jul 2004
Old 10-19-2004 , 22:03  
Reply With Quote #4

sorry i haven't replied b4 this, been really busy

i think this is a great idea, and i will be testing it out this weekend on my NS server

good job, don't be discouraged by the lack of commentary

i will let ya know sunday prolly how it worked out for me...
__________________
ktrain is offline
Send a message via MSN to ktrain
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 11-09-2004 , 16:17  
Reply With Quote #5

little update
__________________
alias White Panther
karlos is offline
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 03-18-2005 , 10:44  
Reply With Quote #6

Does it work in motd/hud??
Deviance is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-18-2005 , 12:19  
Reply With Quote #7

read the information about this plugin

the symbols u use in chat are jsut replaced
so its in chat
__________________
alias White Panther
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-19-2005 , 14:48  
Reply With Quote #8

UPDATE v1.3.4:
v1.3.4:
- fixed:

- forgotten debug messages
- minor error with message

plz redownload as the debug can be very nasty
__________________
alias White Panther
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 04-25-2005 , 15:27  
Reply With Quote #9

UPDATE v1.3.5:
changes:
- moved from pev/set_pev to entity_get/entity_set (no fakemeta)
__________________
alias White Panther
karlos is offline
karlos
Veteran Member
Join Date: Apr 2004
Location: Germany/Poland
Old 03-24-2006 , 08:06  
Reply With Quote #10

Update v1.3.6:

changed:
- back to pev/set_pev
- code improvements
__________________
alias White Panther
karlos 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 20:28.


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