Name on Log in and register dialog - 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: Name on Log in and register dialog (
/showthread.php?tid=286592)
Name on Log in and register dialog -
[LHT]Bally - 29.09.2011
hi i use ladmin and it has dialog box on login/register screen but how would i get it so it said the players name ?
Like so
Re: Name on Log in and register dialog -
park4bmx - 29.09.2011
you would need to find this dialog box
and format it like this
pawn Код:
new DialogStr[128],Name;
GetPlayerName(playerid, Name, sizeof(Name));
format(DialogStr,sizeof(DialogStr,"Welcome %s To |SERVER NAME|",Name);
ShowPlayerDialog(playerid,ID,DIALOG_STYLE_MSGBOX,"REGISTER ACCOUNT",DialogStr,"Register","Close");
or u can see how i done it in my register system which it already has that function when player joins the server/register the name is shown
HERE
Re: Name on Log in and register dialog -
Wesley221 - 29.09.2011
If you take a look at the dialog, it does show your name.
"Welcome to San Andreas Truckers, Bally!"
Re: Name on Log in and register dialog -
[LHT]Bally - 29.09.2011
yeah but that is not my gamemode .
Re: Name on Log in and register dialog -
Wesley221 - 29.09.2011
Ah i didnt know that. Then use park's way