SA-MP Forums Archive
One More Help topic! - 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: One More Help topic! (/showthread.php?tid=408972)



One More Help topic! - TheEpicBraxton - 19.01.2013

Hi, I would like to script a message like when you join the server it shows it.... Also I need help cause it takes like 2 minutes to connect to the server. I would like it auto if possible.

Like:

Connected SAMP 0.3e
Connected. Joining Game
TheEpix Joined the server
(wait 2 minutes)
Connected to United Trucking Beta.

Oh and the message:

TheEpix Joined the server
Welcome to server-name-here
More message here....


Re: One More Help topic! - Stevo127 - 20.01.2013

pawn Код:
public OnPlayerConnect(playerid)
{
    SendClientMessage(playerid, 0xFFFFFFAA, "Welcome to SERVER_NAME_HERE");
    SendClientMessage(playerid, 0xFFFFFFAA, "MORE_MESSAGE_HERE");
    SendClientMessage(playerid, 0xFFFFFFAA, "MORE_MESSAGE_HERE");
    SendClientMessage(playerid, 0xFFFFFFAA, "MORE_MESSAGE_HERE");
    return 1;
}