Warnings
#1

Код:
C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(2277) : warning 217: loose indentation
C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(2279) : warning 217: loose indentation
C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(2287) : warning 217: loose indentation
C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(2290) : warning 217: loose indentation
C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(10358) : warning 217: loose indentation
C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(10379) : warning 217: loose indentation
C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(17740) : warning 217: loose indentation
C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(17802) : warning 217: loose indentation
C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(33067) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           7352 bytes
Code size:          1363372 bytes
Data size:          4626312 bytes
Stack/heap size:      16384 bytes; estimated max. usage=5359 cells (21436 bytes)
Total requirements: 6013420 bytes
FOR LINE 2277 and 2279
Код:
{
		gPlayerAccount[playerid] = 1;
		new loginstring[512];
		new loginname[64];
		GetPlayerName(playerid,loginname,sizeof(loginname));
			format(loginstring,sizeof(loginstring),"{FFFFFF}______________________________________________\n\n{157DEC}Dobrodojdovte %s\n\n{157DEC}Vekje se imate registrirano.\n\n{157DEC}DreamWorld RPG Macedonia Admin Tim\n\n{157DEC}vi posakuva prijatna zabava i mnogu druzenje.\n\n{157DEC}WebSite i Forum Link:{F3FF02}www.dreamworld-game.info\n\n{FF0000}Ve molime vnesete ja vasata lozinka...\n______________________________________________",loginname);
			ShowPlayerDialog(playerid,12346,DIALOG_STYLE_PASSWORD,"{FF0000}DW-RPG Macedonia - Logiranje",loginstring,"OK","Izlez");
		return 1;
	}
	else
for 2287-90
Код:
	{
	    gPlayerAccount[playerid] = 0;
		new regstring[512];
		new regname[64];
    	GetPlayerName(playerid,regname,sizeof(regname));
			SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}Vasata korisnicka smetka ne e pronajdena ve molime vnesete lozinka za da prodolzite ponatamu.");
   			format(regstring,sizeof(regstring),"{FFFFFF}______________________________________________\n\nDobredojdovte na DreamWorld Role Play \n\nVaseto Ime i Prezime:%s\n\nKorisnicka smetka:Nemate\n\n{F81414}Forum:{FF0000}www.dreamworld-game.info{FFFFFF}\n\nVe molime vnesete ja vasata lozinka...\n______________________________________________",regname);
			ShowPlayerDialog(playerid,12345,DIALOG_STYLE_PASSWORD,"{FFFFFF}|DreamWorld| - Registracija",regstring,"Prifakjam","Odbivam");
		return 1;
	}
}
idk what else to put
Reply
#2

loose indentation means that your lines are messy. Straight them up.
pawn Код:
{
        gPlayerAccount[playerid] = 0;
        new regstring[512];
        new regname[64];
        GetPlayerName(playerid,regname,sizeof(regname));
        SendClientMessage(playerid, COLOR_WHITE, "{FFFFFF}Vasata korisnicka smetka ne e pronajdena ve molime vnesete lozinka za da prodolzite ponatamu.");
        format(regstring,sizeof(regstring),"{FFFFFF}______________________________________________\n\nDobredojdovte na DreamWorld Role Play \n\nVaseto Ime i Prezime:%s\n\nKorisnicka smetka:Nemate\n\n{F81414}Forum:{FF0000}www.dreamworld-game.info{FFFFFF}\n\nVe molime vnesete ja vasata lozinka...\n______________________________________________",regname);
        ShowPlayerDialog(playerid,12345,DIALOG_STYLE_PASSWORD,"{FFFFFF}|DreamWorld| - Registracija",regstring,"Prifakjam","Odbivam");
        return 1;
    }
}
Something like this.
Reply
#3

what should i do
Reply
#4

Replace your command with his.

Also I've noticed you've got another warning than loose indentation.
Код:
"C:\DOCUME~1\EA3B~1\Desktop\sano\DREAMW~1.3D\DREAMW~1.3D\GAMEMO~1\DREAMW~1.PWN(33067) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Search for "GetPointDistanceToPointExMorph" and rename it to "stock GetPointDistanceToPointExMorph"
Reply
#5

iRage: GetPointDistanceToPointExMorph dont exist :S :S line 33067 i have only 31628 lines
Reply
#6

Ignore it.

OR

Do u have any includes?
Reply
#7

Do this for the GetPointDistanceToPointExMorph

#pragma unused GetPointDistanceToPointExMorph
Reply
#8

Quote:
Originally Posted by Emil123
Посмотреть сообщение
Do this for the GetPointDistanceToPointExMorph

#pragma unused GetPointDistanceToPointExMorph
now gives me this
Код:
C:\Documents and Settings\Корисник\Desktop\0.3e\gamemodes\DREAMW~1.PWN(11) : fatal error 100: cannot read from file: "utils"
Reply
#9

That is because you dont have dutils include download it.
Reply
#10

Quote:
Originally Posted by imnoob
Посмотреть сообщение
now gives me this
Код:
C:\Documents and Settings\Корисник\Desktop\0.3e\gamemodes\DREAMW~1.PWN(11) : fatal error 100: cannot read from file: "utils"
You must download the iunclude Utils

and P.S Are you from Macedonia? PM me if you are
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)