Jump to content
  • 0

Warninguri la compile


gabydemocray

Question

cand dau compile primesc aceste Warn uri:

[pawn]F:\Gaby\Jocuri\xvcc\Replay\gamemodes\saints.pwn(12248) : warning 225: unreachable code

F:\Gaby\Jocuri\xvcc\Replay\gamemodes\saints.pwn(16089) : warning 225: unreachable code

F:\Gaby\Jocuri\xvcc\Replay\gamemodes\saints.pwn(47049) : warning 235: public function lacks forward declaration (symbol "UpdateSpeed")

F:\Gaby\Jocuri\xvcc\Replay\gamemodes\saints.pwn(47074) : warning 235: public function lacks forward declaration (symbol "CheckValidTextDraws")

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Header size:          9764 bytes

Code size:          1956972 bytes

Data size:          9236168 bytes

Stack/heap size:      16384 bytes; estimated max. usage=4123 cells (16492 bytes)

Total requirements:11219288 bytes

4 Warnings.[/pawn]

si in server numai merge nicio comanda

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

nu e nimic :))

Asteas erorile :

F:\Gaby\Jocuri\xvcc\Replay\gamemodes\saints.pwn(12251) : warning 225: unreachable code

F:\Gaby\Jocuri\xvcc\Replay\gamemodes\saints.pwn(16086) : warning 225: unreachable code

F:\Gaby\Jocuri\xvcc\Replay\gamemodes\saints.pwn(47046) : error 025: function heading differs from prototype

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

Si liniile:

47046: public UpdateSpeed (vehid)
{
    new id = GetVehicleInfrontID (vehid);
	if (id < 0)
	{
   		TextDrawSetString (SpeedAndModel [vehid], "~b~N/A ~n~~r~N/A");
	}
//--------------------------------------------------------//sweeper\\-------------------------------------------------------
16086:	if(strcmp(cmd, "/start", true) == 0)
	{
		if(IsPlayerConnected(playerid))
        {
		    if(PlayerInfo[playerid][pCarLic] == 1)
		    {
	//34
12251	AddStaticVehicleEx(421,1405.8300,-1786.8331,13.4291,89.1217,1, 1, 60000);/*Mayor 1st*///51
	AddStaticVehicleEx(522,2954.429, 2974.064, 15, 0, 0, 0,6000000); // /*Aruncata By MousEY
	AddStaticVehicleEx(596,1569.639000,-1710.859000,5.466783,1.0, -1, -1, 60000);/*CopCruiser*/
	AddStaticVehicleEx(596,-2139.1995,-2393.7671,30.3452,140.7012, 0, 0, 60000);/*CopCruiser*/

Link to comment
Share on other sites

am rezolvat alea au mai ramas astea :

F:\Gaby\Jocuri\xvcc\Replay\gamemodes\saints.pwn(12235) : warning 225: unreachable code
F:\Gaby\Jocuri\xvcc\Replay\gamemodes\saints.pwn(15955) : warning 225: unreachable code
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase

Header size:           9764 bytes
Code size:          1956972 bytes
Data size:          9236168 bytes
Stack/heap size:      16384 bytes; estimated max. usage=4123 cells (16492 bytes)
Total requirements:11219288 bytes

2 Warnings.
// Zones
12235:for(new i = 0; i < sizeof(TurfInfo); i++)
	{
	    Turfs[i] = GangZoneCreate(TurfInfo[i][zMinX],TurfInfo[i][zMinY],TurfInfo[i][zMaxX],TurfInfo[i][zMaxY]);
	}
//-------------------------------------players---------------------------------------------------------------
15955:if(strcmp(cmdtext, "/players off", true) == 0)
	{
		if(IsPlayerConnected(playerid))
		{
			PlayersStats[playerid] = 0;
			SendClientMessage(playerid, COLOR_LIGHTRED," Players textdraw is now disabled !");
			TextDrawHideForPlayer(playerid,Pplayers);
		}
	}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.