Help me please
#1

Hi, I'm wrong with my GM so I came to ask for help from you.
Код:
C:\Users\Adanilton Freire\Documents\Servidor\gamemodes\RZ.pwn(13102) : warning 217: loose indentation
C:\Users\Adanilton Freire\Documents\Servidor\gamemodes\RZ.pwn(13103) : warning 217: loose indentation
C:\Users\Adanilton Freire\Documents\Servidor\gamemodes\RZ.pwn(13104) : warning 217: loose indentation
C:\Users\Adanilton Freire\Documents\Servidor\gamemodes\RZ.pwn(13105) : warning 217: loose indentation
C:\Users\Adanilton Freire\Documents\Servidor\gamemodes\RZ.pwn(16119) : warning 217: loose indentation
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:          22068 bytes
Code size:          2748436 bytes
Data size:          8513488 bytes
Stack/heap size:      16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements:11300376 bytes

5 Warnings.
This error starts from line 13103 and goes to 13105 are four following errors
Код:
            SendClientMessageToAll(-1, string);
	SCM(playerid,-1,"Cuidado com o que escreve... Lupuens MANDA! ");
Kick(playerid);
			return 0;
The last error and the end line
Код:
public OnGameModeInit()

{

LoadNPCs();

mysql_log(LOG_ERROR | LOG_WARNING);

EnConteo = false;

    ArmasEstado = 1;
Sorry if you hear English mistakes I'm Brazilian and I did this through the translator, I'm waiting for your help.
Reply
#2

This warning means that you don't have the same indentation (one line starts at 4 spaces from left, the next one starts at 8 spaces etc..)
It is very easy, just do this:

PHP код:
    SendClientMessageToAll(-1string);
    
SCM(playerid,-1,"Cuidado com o que escreve... Lupuens MANDA! ");
    
Kick(playerid);
    return 
0
and

PHP код:
public OnGameModeInit()
{
    
LoadNPCs();
    
mysql_log(LOG_ERROR LOG_WARNING);
    
EnConteo false;
    
ArmasEstado 1
Reply
#3

Quote:
Originally Posted by GaByM
Посмотреть сообщение
This warning means that you don't have the same indentation (one line starts at 4 spaces from left, the next one starts at 8 spaces etc..)
It is very easy, just do this:

PHP код:
    SendClientMessageToAll(-1string);
    
SCM(playerid,-1,"Cuidado com o que escreve... Lupuens MANDA! ");
    
Kick(playerid);
    return 
0
and

PHP код:
public OnGameModeInit()
{
    
LoadNPCs();
    
mysql_log(LOG_ERROR LOG_WARNING);
    
EnConteo false;
    
ArmasEstado 1
Thank you
Reply
#4

This warning occurs when your code is unorganized (such as rows). If you are in doubt use this site:

http://tabulador.medianewsonline.com/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)