Quote:
Originally Posted by Alka
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(id, playername, 17)
ColorChat(0, GREEN, "^x04[test] %s made suicide^x04", "playername", "green");
user_kill ( id, 1)
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
__________________