Raised This Month: $ Target: $400
 0% 

Hudmessage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ZooYork
Member
Join Date: Aug 2006
Location: in amxmodx forums
Old 04-10-2007 , 15:58   Re: Hudmessage
Reply With Quote #3

Quote:
Originally Posted by Alka View Post
for pulse effect set effects = 1 ! Ex:

Code:
set_hudmessage(0,255, 0, 0.30, 0.85, 1, 6.0, 6.0);
0,255,0 = colors
0.30,0.85 = position
1 = effect
6.0 = fx time
6.0 = hold time
PHP Code:
#include <amxmodx>
 
public plugin_init()
{
 
register_clcmd("say /kill""cmdTest")
 
}
 
public 
cmdTest(id)
{
new 
playername[18
get_user_name(idplayername17)
 
ColorChat(0GREEN"^x04[test] %s made suicide^x04""playername""green");
user_kill id1)
return 
PLUGIN_HANDLED;

What else i need to add that it would work?
EDIT: i mean playername

Code:
It shows as: [test] playername made suicide
__________________
Zoo York Inst. Search! In the
amxmodx forums.
ZooYork is offline
 



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 06:39.


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