SA-MP Forums Archive
"Player X has just logged in" - 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: "Player X has just logged in" (/showthread.php?tid=392972)



"Player X has just logged in" - Blackazur - 16.11.2012

How can i make that when a Guy logged in, that a Message in the Chat come like "Player X has just logged in"?


Re: "Player X has just logged in" - Vince - 16.11.2012

https://www.******.be/#hl=en&safe=of...w=1920&bih=979


Re: "Player X has just logged in" - Abreezy - 16.11.2012

pawn Код:
public OnPlayerConnect(playerid)
{
    new name[MAX_PLAYER_NAME], string[128];
    GetPlayerName(playerid, name, MAX_PLAYER_NAME);
    format(string, sizeof(string), "%s has connected to the server!", name);
    SendClientMessageToAll(-1, string);
    return 1;
}