D:\\Documents and Settings\\XP\\Asztal\\SAMP Szerver\\pawno\\dialog.pwn(21) : warning 217: loose indentationD:\\Documents and Settings\\XP\\Asztal\\SAMP Szerver\\pawno\\dialog.pwn(48) : error 030: compound statement not closed at the end of file (started at line 15)Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error.
#include <f_samp>#include <a_samp>#define DIALOG_0 10public OnPlayerConnect(playerid){ShowPlayerDialog(playerid, DIALOG_0, DIALOG_STYLE_LIST, \"Cuccok\", \"Autó javítása\\nÉlet feltöltése\\nPajzs feltöltése\\nPiros név\", \"Rendben\", \"Kilépés\");}public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]){if(dialogid == DIALOG_0){if(response) { if(listitem == 1){ new vehicleid = GetPlayerVehicleID(playerid); SetVehicleHealth(vehicleid, 1000.0);SendClientMessage(playerid, COLOR_WHITE, \"Jármû megjavítva!\");}if(listitem == 2){SetPlayerHealth(playerid, 100);}if(listitem == 3){SetPlayerArmour(playerid, 100);}if(listitem == 4){GivePlayerMoney(playerid, 100);}if(listitem == 5){SetPlayerColor(playerid,0xff0000AA);SendClientMessageToAll(-1,\"Valaki megváltoztatta a neve színét pirosra.\");}}return 1;}