SA-MP Forums Archive
2 Simple Questions - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 2 Simple Questions (/showthread.php?tid=108555)



2 Simple Questions - DeltaAirlines12 - 14.11.2009

Alrighty, first I want people to realize I am NOT trying to spam the forum.
I just have lots of questions...
Does anyone know where I can get a register system that looks like this:


And second, anyone know how I would make it so when I connect to my own server, it says this:
Код:
Dustin (Lead Administrator And Server Owner) Has Joined The Server!
Thanks.


Re: 2 Simple Questions - Backwardsman97 - 14.11.2009

pawn Код:
public OnPlayerConnect(playerid)
{
    new pname[24];
    GetPlayerName(playerid,pname,24);

    if(!strcmp(pname,"Dustin"))
        SendClientMessageToAll(DARKGREY,"Dustin (Lead Administrator And Server Owner) Has Joined The Server!");
    else
    {
        new string[128];
        format(string,sizeof(string),"%s(%d) has joined the server.",pname,playerid);
        SendClientMessageToAll(DARKGREY,string);
    }
    return 1;
}
And the registration thing is just a normal registration system but modified to use a dialog box made for input.


Re: 2 Simple Questions - Correlli - 14.11.2009

Example: http://forum.sa-mp.com/index.php?topic=122308.0
But this is for the Godfather and LA-RP version only.


Re: 2 Simple Questions - DeltaAirlines12 - 14.11.2009

Thank you all for your replys!