Thread
:
Center Playernames
View Single Post
tmh
New Member
Join Date: Mar 2004
04-05-2004 , 18:50
#
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
Get Plugin
or
Get Source
(centerid.sma - 1298 views - 247 Bytes)
tmh
View Public Profile
Send a private message to tmh
Find More Posts by tmh