Raised This Month: $12 Target: $400
 3% 

Center Playernames


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:         
tmh
New Member
Join Date: Mar 2004
Old 04-05-2004 , 17:30   Center Playernames
Reply With Quote #1

I noticed alot of ppl still use playernames metamod plugin to display players names in the center when you put your crosshairs on them. This does the same thing, using hud_centerid. Dunno if u can really count this as a plugin, but here it is n e way lol.



#include <amxmodx>

public client_putinserver(id) {
client_cmd(id,"hud_centerid 1")
}

public plugin_init() {
register_plugin("Playernames","1.0","Anybody" )
}
Attached Files
File Type: zip playernames.zip (563 Bytes, 112 views)
tmh is offline
DoubleTap
Veteran Member
Join Date: Mar 2004
Location: Harker Heights, TX
Old 04-05-2004 , 17:35  
Reply With Quote #2

A plugin for a user configurable cvar ?
__________________
DoubleTap is offline
Send a message via ICQ to DoubleTap
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-05-2004 , 18:19  
Reply With Quote #3

plz post .sma instead of .zip
__________________
My Plugins

Got ??
AssKicR is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 04-05-2004 , 18:19  
Reply With Quote #4

its a plugin maybe..
but.. maybe u should do public client_disconnect or something i forgot
client_cmd hud_centerid 0
__________________
QwertyAccess is offline
DoubleTap
Veteran Member
Join Date: Mar 2004
Location: Harker Heights, TX
Old 04-05-2004 , 18:20  
Reply With Quote #5

Why would you run a plugin that forces user to have this function AK... I dont use that setting myself.... if I wanted to I could type it in console... just my two cents...

Vic/DT
__________________
DoubleTap is offline
Send a message via ICQ to DoubleTap
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-05-2004 , 18:24  
Reply With Quote #6

Quote:
Originally Posted by DoubleTap
Why would you run a plugin that forces user to have this function AK... I dont use that setting myself.... if I wanted to I could type it in console... just my two cents...

Vic/DT

well personally i think it is stupid also... i hate having it in center... i like it in the corner...
__________________
My Plugins

Got ??
AssKicR is offline
QwertyAccess
Veteran Member
Join Date: Feb 2004
Location: Enjiru Layer
Old 04-05-2004 , 18:30  
Reply With Quote #7

same, tho the metamod one is pretty nice and quick while normal hudid takes a while
__________________
QwertyAccess is offline
tmh
New Member
Join Date: Mar 2004
Old 04-05-2004 , 18:50  
Reply With Quote #8

Well i didn't think I'd be praised for this, but come on, if u dont like it .. dont use it ... plz no more "i hate it" posts, i aint gonna defend it cuz arguing about it is like competing in the special olympics -- even if u win ur still a retard...

Problem with resetting it on the client disconnect is -- does it get called soon enough? Like before the client actually gets disconnected so the server can run the command for them?
w/e tho its easy enough to throw the line in -- dunno if it will work tho ...

#include <amxmodx>

public client_putinserver(id) {
client_cmd(id,"hud_centerid 1")
}
public client_disconnect(id) {
client_cmd(id,"hud_centerid 0")
}
public plugin_init() {
register_plugin("Playernames","1.0","Anybody" )
}
Attached Files
File Type: sma Get Plugin or Get Source (centerid.sma - 1291 views - 247 Bytes)
tmh is offline
DoubleTap
Veteran Member
Join Date: Mar 2004
Location: Harker Heights, TX
Old 04-05-2004 , 18:51  
Reply With Quote #9

Well, we will refrain from pointing out the you could have edited the first message then... now we're even

Vic/DT
__________________
DoubleTap is offline
Send a message via ICQ to DoubleTap
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-05-2004 , 18:58  
Reply With Quote #10

also this will fuck up the XPdisplay for superheromod
__________________
My Plugins

Got ??
AssKicR 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:14.


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