13.06.2010, 19:43
Quote:
Originally Posted by MemoX
ahi adaptale unas cosillas para q quede compatible con tu servidor
![]() Код:
if(dialogid == edad) { // Loguear new sendername[MAX_PLAYER_NAME]; // new string[64]; if(response) { new tmp[256]; new idx; tmp = strtok(inputtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "Debes Escribir tu Edad si o si."); return 1; } if(IsPlayerConnected(playerid)) { new edad = strval(tmp); GetPlayerName(playerid, sendername, sizeof(sendername)); PlayerInfo[playerid][pAge] = edad; SendClientMessage(playerid, COLOR_GREEN, "Gracias por indicar su edad."); ShowPlayerDialog(playerid,showorigen, DIALOG_STYLE_LIST, "ї De Donde Eres ?", "1)>\tExtranjero.\n2)>\tPlaya de Los Santos.\n3)>\tBarrio de Los Santos.\n4)>\tCentro de Los Santos.", "Seleccionar", "Cancelar"); } return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "Cancelastes El Registro en Real Life Style RolePlay"); } return 1; // we processed it. } |
Me podrias mandar el codigo anterior de ese Dialogo? El cual lleva el dialogo de la edad algo como:
Код:
ShowPlayerDialog(playerid,edad, DIALOG_STYLE_LIST
![Wink](images/smilies/wink.png)