When players join your server.... - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: When players join your server.... (
/showthread.php?tid=498593)
When players join your server.... -
ChristianIvann09 - 04.03.2014
I want an script when players join your server all admins will see this message.
"PLAYERNAME has joined your server..."
Thanks
Re: When players join your server.... -
Flake. - 04.03.2014
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
Re: When players join your server.... -
ChristianIvann09 - 04.03.2014
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