[Ajuda] loose indentation (2 Warnings)
#1

Ola Fiz Esse CMD Mais esta dando avisos nos 2 return true:


pawn Код:
return true;

Porque ?


pawn Код:
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(242) : warning 217: loose indentation
C:\Users\Allisson\Desktop\[GM] Brasil Knight Games\gamemodes\BKG.pwn(253) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Warnings.


Linha242)
pawn Код:
return true;
Linha253)
pawn Код:
return true;


Codigo Inteiro


pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/entrandointerior", true) == 0)
{
     if(IsPlayerInRangeOfPoint(playerid, 2.0, 1928.5828,-1776.3160,13.5469))
     {
     SetPlayerInterior(playerid, 17);
     SetPlayerPos(playerid, -25.884498,-185.868988,1003.546875);
   }
   return true;
}

if(strcmp(cmdtext, "/sairdointerior", true) == 0)
{

     if(IsPlayerInRangeOfPoint(playerid, 2.0, -25.884498,-185.868988,1003.546875))
     {
     SetPlayerInterior(playerid, 0);
     SetPlayerPos(playerid, 1928.5828,-1776.3160,13.5469);
   }
   return true;
}


return SendClientMessage(playerid,0xFF1493AA,"[BKG SERVE] ESSE COMANDO DIGITADO ESTA INVALIDO USE:  /AJUDA  OU  /RELATORIO  PARA MAIS INFORMAЗOES.");
}
Reply


Messages In This Thread
loose indentation (2 Warnings) - by Alisson Silva Alves - 15.02.2013, 00:15
Re: loose indentation (2 Warnings) - by sofina - 15.02.2013, 00:17
Re: loose indentation (2 Warnings) - by Alisson Silva Alves - 15.02.2013, 00:19
Re: loose indentation (2 Warnings) - by NuTShoT - 15.02.2013, 00:19
Re: loose indentation (2 Warnings) - by MatheusAlcapone - 15.02.2013, 00:20
Re: loose indentation (2 Warnings) - by Diogo123 - 15.02.2013, 00:24
Re: loose indentation (2 Warnings) - by Alisson Silva Alves - 15.02.2013, 00:25
Re: loose indentation (2 Warnings) - by sofina - 15.02.2013, 00:27
Re: loose indentation (2 Warnings) - by MatheusAlcapone - 15.02.2013, 00:30
Re: loose indentation (2 Warnings) - by sofina - 15.02.2013, 00:32

Forum Jump:


Users browsing this thread: 4 Guest(s)