[Hellp me!] Compilation failed! - 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: [Hellp me!] Compilation failed! (
/showthread.php?tid=404359)
[Hellp me!] Compilation failed! -
alexnouabv - 02.01.2013
PHP код:
C:\Users\Elementz\Desktop\server\pawno\include\seifader.inc(98) : error 004: function "OnPlayerScreenFade" is not implemented
C:\Users\Elementz\Desktop\server\pawno\include\bodyparts.inc(43) : warning 219: local variable "a" shadows a variable at a preceding level
C:\Users\Elementz\Desktop\server\pawno\include\bodyparts.inc(127) : warning 219: local variable "a" shadows a variable at a preceding level
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(98) : error 029: invalid expression, assumed zero
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(99) : error 055: start of function body without function header
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(100) : error 010: invalid function or declaration
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(108) : error 055: start of function body without function header
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(438) : error 001: expected token: ";", but found "forward"
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(3627) : error 017: undefined symbol "i"
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(3627) : warning 204: symbol is assigned a value that is never used: "vehicle"
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(3627 -- 3629) : error 010: invalid function or declaration
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(3627 -- 3631) : error 010: invalid function or declaration
C:\Users\Elementz\Desktop\server\gamemodes\enrp.pwn(3627 -- 3631) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
10 Errors.
Solution?
Error 98,99,100
PHP код:
public OnPlayerScreenFade(playerid, color, speed);
{
return 1;
}
public OnPlayerScreenColorFade(playerid, color, speed)
{
return 1;
}
108
PHP код:
public OnPlayerScreenColorFade(playerid, color, speed)
{
return 1;
}
{ (this is 108)
438
PHP код:
#define DIALOG_MDC_PDATA 13;
forward InitPlayer(playerid); - this is 438
forward DollahScoreUpdate();
3627
PHP код:
}
new vehicle = GetPlayerVehicleID(i);
} -This is bad
if (VehicleEngine[vehicle] == 1 && !IsNotAEngineCar(vehicle))
}
3627-3631
PHP код:
}
new vehicle = GetPlayerVehicleID(i);
}
if (VehicleEngine[vehicle] == 1 && !IsNotAEngineCar(vehicle))
}
if(CarInfo[VehicleOwned[vehicle]][cFuel] >= 1 && Gas[vehicle] >= 1)
[This paragrapf is 3631]
}
Please help me!
Re: [Hellp me!] Compilation failed! -
alexnouabv - 02.01.2013
Please Help me!
Re: [Hellp me!] Compilation failed! -
Blast3r - 02.01.2013
Well before I start checking all these out, are you sure you didn't forget to return the value at some place? Cause if you do you'll start getting quite a few errors..
Re: [Hellp me!] Compilation failed! -
aslan890 - 02.01.2013
On 438 I thing it was like this
Код:
#define DIALOG_MDC_PDATA 13;
forward InitPlayer(playerid) - this is 438;
forward DollahScoreUpdate();
OR
Код:
#define DIALOG_MDC_PDATA 13;
forward InitPlayer(playerid); - this is 438;
forward DollahScoreUpdate();