AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Trash (https://forums.alliedmods.net/forumdisplay.php?f=22)
-   -   Center Playernames (https://forums.alliedmods.net/showthread.php?t=887)

tmh 04-05-2004 17:30

Center Playernames
 
1 Attachment(s)
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.
:D


#include <amxmodx>

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

public plugin_init() {
register_plugin("Playernames","1.0","Anybody" )
}

DoubleTap 04-05-2004 17:35

A plugin for a user configurable cvar ?

AssKicR 04-05-2004 18:19

plz post .sma instead of .zip :D

QwertyAccess 04-05-2004 18:19

its a plugin maybe..
but.. maybe u should do public client_disconnect or something i forgot
client_cmd hud_centerid 0

DoubleTap 04-05-2004 18:20

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

AssKicR 04-05-2004 18:24

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...

QwertyAccess 04-05-2004 18:30

same, tho the metamod one is pretty nice and quick while normal hudid takes a while

tmh 04-05-2004 18:50

1 Attachment(s)
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" )
}

DoubleTap 04-05-2004 18:51

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

Vic/DT

AssKicR 04-05-2004 18:58

also this will fuck up the XPdisplay for superheromod


All times are GMT -4. The time now is 09:04.

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