Name on Log in and register dialog
#1

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
Reply
#2

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
Reply
#3

If you take a look at the dialog, it does show your name.
"Welcome to San Andreas Truckers, Bally!"
Reply
#4

yeah but that is not my gamemode .
Reply
#5

Ah i didnt know that. Then use park's way
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)