Raised This Month: $ Target: $400
 0% 

[solved] modify original deathMsg


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Empowers
BANNED
Join Date: Feb 2009
Location: Ukraine
Old 04-13-2009 , 06:51   Re: modify original deathMsg
Reply With Quote #1

Quote:
but how about changing the name pretty quick without client_cmd()
u can use
PHP Code:
set_pev(idpev_netname"NAME"
Empowers is offline
Send a message via ICQ to Empowers
Hunter-Digital
Veteran Member
Join Date: Aug 2006
Location: In the Game [ro]
Old 04-13-2009 , 10:53   Re: modify original deathMsg
Reply With Quote #2

Doesn't work...

Code:
public testCmd(id)
{
set_pev(id, pev_netname, "Test")
make_deathmsg(id, 0, 0, "m4a1")
set_pev(id, pev_netname, "Test2")
set_task(0.1, "testDelay", id+512)
return PLUGIN_HANDLED
}
 
public testDelay(id) make_deathmsg(id-512, 0, 0, "m4a1")
shows my name every time... how about a message to change the player name in the scoreboard ?
__________________
Hunter-Digital is offline
Reply



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 02:25.


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