SA-MP Forums Archive
So many errors on one line - 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: So many errors on one line (/showthread.php?tid=514880)



So many errors on one line - VictorCreed - 23.05.2014

What's wrong with that line?

Код:
34496 - if(PlayerInfo[playerid][pPcarkey] !== 9999 && PlayerInfo[playerid][pPcarkey2] != 9999)
Quote:

D:\*\Games Archive\Grand Theft Auto - San Andreas\Server\gamemodes\larp.pwn(34496) : error 029: invalid expression, assumed zero
D:\*\Games Archive\Grand Theft Auto - San Andreas\Server\gamemodes\larp.pwn(34496) : warning 215: expression has no effect
D:\*\Games Archive\Grand Theft Auto - San Andreas\Server\gamemodes\larp.pwn(34496) : error 001: expected token: ";", but found ")"
D:\*\Games Archive\Grand Theft Auto - San Andreas\Server\gamemodes\larp.pwn(34496) : error 029: invalid expression, assumed zero
D:\*\Games Archive\Grand Theft Auto - San Andreas\Server\gamemodes\larp.pwn(34496) : fatal error 107: too many error messages on one line

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


4 Errors.




Re: So many errors on one line - Fred1993 - 23.05.2014

Quote:

PlayerInfo[playerid][pPcarkey] !== 9999

Here, Remove one "="


Re: So many errors on one line - VictorCreed - 23.05.2014

How blind am I... Thanks pal. I deleted it and now

Quote:

D:\*\Games Archive\Grand Theft Auto - San Andreas\Server\gamemodes\larp.pwn(34497) : error 001: expected token: ",", but found ";"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

Код:
return SendClientMessage(playerid, COLOR_GREY,"* You already own Two cars!";



Re: So many errors on one line - Matess - 23.05.2014

Blind again?
))))))))))))))))))

pawn Код:
return SendClientMessage(playerid, COLOR_GREY,"* You already own Two cars!");



Re: So many errors on one line - VictorCreed - 23.05.2014

Probably lol. I'm a heckin newbie at scripting.


Re: So many errors on one line - Fred1993 - 23.05.2014

Keep it up
You'll learn soon