loose indentation
#1

help me please .. lolz

Код:
C:\Users\Eiy Mard\Desktop\samp\gamemodes\driftgang.pwn(1543) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
	if(dialogid == 1)
 	{
		if(!response)
		{
			new pname[MAX_PLAYER_NAME], kick[128 + MAX_PLAYER_NAME];
			GetPlayerName(playerid, pname, sizeof(pname));
			format(ban, sizeof(ban), "%s Failed To Agree The Rules And Have Been Banned!",pname);
			SendClientMessageToAll(0xFF0000FF, ban);
			PlayerPlaySound(playerid, 1141, 0.0, 0.0, 0.0);			
                                      Ban(playerid);
 			return 1;
  		}
  	}
  return 0;
}
Reply
#2

pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1)
    {
        if(!response)
        {
            new pname[MAX_PLAYER_NAME], kick[128 + MAX_PLAYER_NAME];
            GetPlayerName(playerid, pname, sizeof(pname));
            format(ban, sizeof(ban), "%s Failed To Agree The Rules And Have Been Banned!",pname);
            SendClientMessageToAll(0xFF0000FF, ban);
            PlayerPlaySound(playerid, 1141, 0.0, 0.0, 0.0);
            Ban(playerid);
            return 1;
        }
    }
  return 0;
}
try that
Reply
#3


pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 1)
    {
        if(!response)
        {
            new pname[MAX_PLAYER_NAME], kick[128 + MAX_PLAYER_NAME];
            GetPlayerName(playerid, pname, sizeof(pname));
            format(ban, sizeof(ban), "%s Failed To Agree The Rules And Have Been Banned!",pname);
            SendClientMessageToAll(0xFF0000FF, ban);
            PlayerPlaySound(playerid, 1141, 0.0, 0.0, 0.0);
            Ban(playerid);
            return 1;
        }
    }
    return 0;
}
It has to do with spaces
Reply
#4

This tool might come in handy.
Reply
#5

ok .. ty .. its fucking blind on my brain ,,,, after 2 month i leave scripting .. lolz haha
Reply
#6

Quote:
Originally Posted by HellSphinX
Посмотреть сообщение
This tool might come in handy.
hey .. this nice lolz .. owesome !
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)