SA-MP Forums Archive
8 warnings , GTARP - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 8 warnings , GTARP (/showthread.php?tid=275508)



8 warnings , GTARP - antsolen - 09.08.2011

Код:
C:\Documents and Settings\Andero\Desktop\RPEEE\gamemodes\gtarp.pwn(2847) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Documents and Settings\Andero\Desktop\RPEEE\gamemodes\gtarp.pwn(9785) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Documents and Settings\Andero\Desktop\RPEEE\gamemodes\gtarp.pwn(9813) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Documents and Settings\Andero\Desktop\RPEEE\gamemodes\gtarp.pwn(10313) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Documents and Settings\Andero\Desktop\RPEEE\gamemodes\gtarp.pwn(11729) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Documents and Settings\Andero\Desktop\RPEEE\gamemodes\gtarp.pwn(16490) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Documents and Settings\Andero\Desktop\RPEEE\gamemodes\gtarp.pwn(43929) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
C:\Documents and Settings\Andero\Desktop\RPEEE\gamemodes\gtarp.pwn(43966) : warning 224: indeterminate array size in "sizeof" expression (symbol "")
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:           9588 bytes
Code size:          1613744 bytes
Data size:         10288344 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4466 cells (17864 bytes)
Total requirements:11928060 bytes

8 Warnings.
I just removed all cars ..


Re: 8 warnings , GTARP - Mr.1337 - 09.08.2011

Show us the lines?


Re: 8 warnings , GTARP - Buzzbomb - 10.08.2011

Damn Mr.1337 your sexy as hell lol


Re: 8 warnings , GTARP - Sensitive - 10.08.2011

Nдita ridu ka, sittagi ei oska muidu teha.


Re: 8 warnings , GTARP - Kingunit - 10.08.2011

Quote:
Originally Posted by Sensitive
Посмотреть сообщение
Nдita ridu ka, sittagi ei oska muidu teha.
How about english?

OT:
Show the lines, and make those strings lower.


Re: 8 warnings , GTARP - antsolen - 10.08.2011

Line 2847
Код:
	for(new h = 0; h < sizeof(CarInfo); h++)
	{
		SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
	}
Maybe some1 can see what wrong here ? Then i can fix all other


Re: 8 warnings , GTARP - Riddick94 - 10.08.2011

If you removed all vehicles you don't need this:

pawn Код:
for(new h = 0; h < sizeof(CarInfo); h++)
{
    SetVehicleParamsForPlayer(h,playerid,0,CarInfo[h][cLock]);
}
Because there's no vehicles. Then sizeof(CarInfo) can't get any info about vehicles.

I know it's enum but you maybe got a problem over this function or down of it? you should send mi gtarp.pwn on PM and let me check this if you won't to show map here.


Re: 8 warnings , GTARP - antsolen - 10.08.2011

I will , add vehicles back.