05.08.2014, 14:45
Hello everyone, I'm newbie and I'm learning how to script and I have error that I don't understand but all works fine so can you guys help me
Error: C:\Users\Iwan\Desktop\samp\gamemodes\CT.pwn(94) : warning 217: loose indentation
94th line is this one
Thank you very much, regards!
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == DIALOG_HELP) { if(response) { if(listitem == 0) { SendClientMessage(playerid, COL_YELLOW, "/yolo"); } if(listitem == 1) { SendClientMessage(playerid, COL_WHITE, "No!"); } if(listitem == 2) { if(IsPlayerAdmin (playerid)) { SendClientMessage(playerid, COL_YELLOW, "/rconhelp"); } else { SendClientMessage(playerid, COL_RED, "You are not an admin"); } } return 1; } } return 0; }
94th line is this one
Код:
return 0;