22.06.2016, 21:11
Quote:
[18:06:09] [debug] Server crashed while executing ecrp.amx [18:06:09] [debug] AMX backtrace: [18:06:09] [debug] #0 native SendClientMessage () from samp-server.exe [18:06:09] [debug] #1 000cd2a8 in public dialog_Estado2 (0, 32700, 1, 1, 12010884) from ecrp.amx [18:06:09] [debug] #2 native CallLocalFunction () from samp-server.exe [18:06:09] [debug] #3 00009034 in public OnDialogResponse (0, 32700, 1, 1, 12010884) from ecrp.amx |
Quote:
Dialog:Estado2(playerid, response, listitem, inputtext[]) { if(!response) return 1; new estado = listitem-1; switch(listitem) { case 0: { Dialog_Show(playerid, Estado_Player,DIALOG_STYLE_INPUT,"Edicion:", "Ingresa un estado personalizado.","Aceptar","Cancelar"); } default: { if(Character[playerid][Gender] == 2) { CreateFeedPlayer(playerid, EstadosPredeterminados[estado][eEstado]); } else if(Character[playerid][Gender] == 1) { CreateFeedPlayer(playerid, EstadosPredeterminados[estado][eEstadoMujer]); } } } return 1; } |