SA-MP Forums Archive
Problema compilare - 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)
+--- Thread: Problema compilare (/showthread.php?tid=525342)



Problema compilare - DarkWolfff - 11.07.2014

Код:
C:\DOCUME~1\Mihai\Desktop\GODFAT~1\pawno\include\JunkBuster.inc(69) : error 021: symbol already defined: "FALSE"
C:\DOCUME~1\Mihai\Desktop\GODFAT~1\pawno\include\JunkBuster.inc(70) : error 021: symbol already defined: "TRUE"
C:\DOCUME~1\Mihai\Desktop\GODFAT~1\pawno\include\JunkBuster.inc(3197) : warning 201: redefinition of constant/macro (symbol "OnPlayerEnterRaceCheckpoint")
C:\Documents and Settings\Mihai\Desktop\Godfather SRZ\gamemodes\godfather.pwn(121) : error 001: expected token: ";", but found "static"
C:\Documents and Settings\Mihai\Desktop\Godfather SRZ\gamemodes\godfather.pwn(1328) : warning 201: redefinition of constant/macro (symbol "COLOR_RED")
C:\Documents and Settings\Mihai\Desktop\Godfather SRZ\gamemodes\godfather.pwn(55262) : error 017: undefined symbol "OnFly"
C:\Documents and Settings\Mihai\Desktop\Godfather SRZ\gamemodes\godfather.pwn(55262) : warning 215: expression has no effect
C:\Documents and Settings\Mihai\Desktop\Godfather SRZ\gamemodes\godfather.pwn(55262) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Mihai\Desktop\Godfather SRZ\gamemodes\godfather.pwn(55262) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Mihai\Desktop\Godfather SRZ\gamemodes\godfather.pwn(55262) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


7 Errors.




Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)//scos face lag
{
    new string[128];
	if(PRESSED(KEY_SUBMISSION))
	{
		if(IsPlayerConnected(playerid) && !IsPlayerInAnyVehicle(playerid))
		{
			if(AdminDuty[playerid] && PlayerInfo[playerid][pAdmin] >= 1337) 
			{
				if(OnFly[playerid]) StartFly(playerid);                            <-55262
				else StopFly(playerid);
			}
		}
	}