12.03.2013, 02:31
Hola!
Existe alguna forma para insertar una string en un dialog? Como? Algun Ejemplo?
Existe alguna forma para insertar una string en un dialog? Como? Algun Ejemplo?
new string[128];
format(string, 128, "tus textos.", tus valores);
ShowPlayerDialog(playerid, TU_ID, DIALOG_STYLE_MESSAGE/LIST, "Texto", string, "Aceptar", " ");
new Nombre[MAX_PLAYER_NAME];
new Str[128];
GetPlayerName(playerid, Nombre, sizeof(Nombre));
format(Str, sizeof(Str), "Has Spawneado %s[%d]", Nombre, playerid);
ShowPlayerDialog(playerid, 1 , DIALOG_STYLE_MSGBOX , "Informacion" , Str , "Aceptar" , "Cancelar" );
new string[128];
strcat(string, "Hola Esta es la primer Linea \n", 31);
strcat(string, "Hola Esta es la segunda Linea \n", 33);
strcat(string, "Hola Esta es la trecer Linea y ultima.", 38);
ShowPlayerDialog(playerid, iddialog , DIALOG_STYLE_MSGBOX , "Informacion" , string , "Aceptar" , "Cancelar" );