26.04.2011, 10:53
new name[64];
new text[1042];
GetPlayerName(playerid, name, sizeof(name));
format(text, sizeof(text), "Welcome to Bogdan's Stunt server. \n\n{FBFF00}Name: %s{FFFFFF}\n\nPlease enter your password below in order to register: \n", name);
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Register an account", text, "Register", "Close");
that's 1 example
new text[1042];
GetPlayerName(playerid, name, sizeof(name));
format(text, sizeof(text), "Welcome to Bogdan's Stunt server. \n\n{FBFF00}Name: %s{FFFFFF}\n\nPlease enter your password below in order to register: \n", name);
ShowPlayerDialog(playerid, 1, DIALOG_STYLE_INPUT, "Register an account", text, "Register", "Close");
that's 1 example