PROBLEM:Pawn Compile problem, ERROR - 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: PROBLEM:Pawn Compile problem, ERROR (
/showthread.php?tid=567293)
PROBLEM:Pawn Compile problem, ERROR -
MoroccanEyes - 12.03.2015
Hi, I was actually doing some updating GM? And when i compile a receive this:
Код:
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9423) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9423) : warning 217: loose indentation
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9423) : error 029: invalid expression, assumed zero
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9423) : error 029: invalid expression, assumed zero
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9423) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
This is the script:
Код:
Convoy_PlayerAllowed(playerid)
{
// Make sure that the leader is a trucker
if (APlayerData[playerid][PlayerClass] == ClassTruckDriver)
{
// Check if the player isn't a member of a convoy already
if (APlayerData[playerid][InConvoy] == false)
{
// Make sure that the player hasn't started a job
if (APlayerData[playerid][JobStarted] == false)
return true; // The player is allowed to create or join a convoy
}
else
SendClientMessage(playerid, 0xFFFFFFFF, TXT_CannotJoinJobStarted);
}
else
SendClientMessage(playerid, 0xFFFFFFFF, TXT_ConvoyAllreadyJoined);
}
else
SendClientMessage(playerid, 0xFFFFFFFF, TXT_ConvoyNeedsTruckerClass);
// If any condition wasn't true, the player isn't allowed to create or join a convoy
return false;
}
Re: PROBLEM:Pawn Compile problem, ERROR -
cnoopers - 12.03.2015
What is the line?
Re: PROBLEM:Pawn Compile problem, ERROR -
magcomputadores - 12.03.2015
What is the line?
Re : PROBLEM:Pawn Compile problem, ERROR -
MoroccanEyes - 12.03.2015
9423, This is it.
Re: PROBLEM:Pawn Compile problem, ERROR -
cnoopers - 12.03.2015
Code of that line!
Re : PROBLEM:Pawn Compile problem, ERROR -
MoroccanEyes - 12.03.2015
HOW ?
Re : PROBLEM:Pawn Compile problem, ERROR -
MoroccanEyes - 12.03.2015
Sorry for double post.
Re: PROBLEM:Pawn Compile problem, ERROR -
oliverrud - 12.03.2015
Check your TXT_ strings.
Re: PROBLEM:Pawn Compile problem, ERROR -
CalvinC - 12.03.2015
pawn Код:
if (APlayerData[playerid][JobStarted] == false)
return true; // The player is allowed to create or join a convoy
}
else
SendClientMessage(playerid, 0xFFFFFFFF, TXT_CannotJoinJobStarted);
You have 1 too many end braces, delete this one.
Re : PROBLEM:Pawn Compile problem, ERROR -
MoroccanEyes - 12.03.2015
But they wasn't any error when i DL this GameMode
Код:
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9417) : error 029: invalid expression, assumed zero
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9418) : warning 217: loose indentation
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9419) : error 029: invalid expression, assumed zero
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9420) : warning 217: loose indentation
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9420) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9420) : error 029: invalid expression, assumed zero
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9420) : error 029: invalid expression, assumed zero
C:\Users\Taleb\Desktop\ppc\gamemodes\PPC_Trucking.pwn(9420) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
6 Errors.
When i delete it.