SA-MP Forums Archive
[SOLVED] Wonderfull Errors! - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [SOLVED] Wonderfull Errors! (/showthread.php?tid=108427)



[SOLVED] Wonderfull Errors! - BP13 - 14.11.2009

Код:
C:\DOCUME~1\User\Desktop\MYNEWE~1\GAMEMO~1\SU.pwn(15502) : error 029: invalid expression, assumed zero
C:\DOCUME~1\User\Desktop\MYNEWE~1\GAMEMO~1\SU.pwn(15502) : warning 215: expression has no effect
C:\DOCUME~1\User\Desktop\MYNEWE~1\GAMEMO~1\SU.pwn(15502) : error 001: expected token: ";", but found ")"
C:\DOCUME~1\User\Desktop\MYNEWE~1\GAMEMO~1\SU.pwn(15502) : error 029: invalid expression, assumed zero
C:\DOCUME~1\User\Desktop\MYNEWE~1\GAMEMO~1\SU.pwn(15502) : fatal error 107: too many error messages on one line

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


4 Errors.
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if (pickupid == bomba)
    {
        if(BombArmed[playerid] == false) && DM21[playerid] == true) //Error Line



Re: Wonderfull Errors! - Danny_Costelo - 14.11.2009

pawn Код:
if(BombArmed[playerid] == false && DM21[playerid] == true)



Re: Wonderfull Errors! - Avsecret - 14.11.2009

=/ Owned By The Seif.
I really need to look.


Re: Wonderfull Errors! - [Bm]rap45 - 14.11.2009


pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if (pickupid == bomba)
    {
        if(BombArmed[playerid] == false) && DM21[playerid] == true) //Error Line
Dont you need a ; in a line in one of them like.

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if (pickupid == bomba)
    {
        if(BombArmed[playerid] == false) && DM21[playerid] == true); <--- that
But i can be wrong idk maybe that's the problem ( one of them not all )


Re: Wonderfull Errors! - BP13 - 14.11.2009

Seif has solved this already. The problem was that I had a extra (


Re: [SOLVED] Wonderfull Errors! - [Bm]rap45 - 14.11.2009

Oh my bad than.