Hello!
I've done here a try, see if it works.
PHP Code:
#include <sourcemod>
public Plugin myinfo = {
name = "Tutorial",
author = "Tim",
version = "1.0"
description = "This is a simple tutorial",
url = ""
};
public void OnClientPutInServer(int client)
{
if(!IsFakeClient(client) && client == 1)
{
char steam[32];
GetClientAuthId(client, AuthId_Steam2, steam, sizeof(steam));
PrintToChatAll("[SM] \x04%N \x01(\05 %s \x01) has joined", client, steam);
}
}
If you need any help click down bellow and contact me on steam, It apears that I am offline, but it's just to avoid spamming!
Here is some stuff that can help u
All the colors suported! with X code:
Code:
default (white): \x01
darkred: \x02
purple: \x03
green: \x04
lightgreen: \x05
lime: \x06
red: \x07
grey: \x08
yellow: \x09
gold: \x10
Best regards and hope I could help,
SpirT.
__________________