When players join your server....
#1

I want an script when players join your server all admins will see this message.

"PLAYERNAME has joined your server..."

Thanks
Reply
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    new string[64], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof string,"%s has joined the server. Welcome!",pName);
    SendClientMessageToAll(0xFFFFFFAA,string);
    return 1;
}
Straight from the SA:MP wiki
Reply
#3

Quote:
Originally Posted by (*|Flake|*)
Посмотреть сообщение
pawn Код:
public OnPlayerConnect(playerid)
{
    new string[64], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pName,MAX_PLAYER_NAME);
    format(string,sizeof string,"%s has joined the server. Welcome!",pName);
    SendClientMessageToAll(0xFFFFFFAA,string);
    return 1;
}
Straight from the SA:MP wiki
THANKS +++REP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)