Race errors
#1

I made a race but i get these errors:
Код:
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(86) : warning 213: tag mismatch
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(86) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(103) : warning 217: loose indentation
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(198) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(198 -- 199) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(203) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(208) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(213) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(218) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(223) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(228) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(233) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(238) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(243) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(248) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(253) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(258) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(263) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(268) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(273) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(278) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(283) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(288) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(293) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(298) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(303) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(308) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(313) : error 010: invalid function or declaration
C:\Documents and Settings\Eigenaar\Bureaublad\MSG\BMX.pwn(318) : error 010: invalid function or declaration

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


26 Errors.
Maybe that someone could help me,

my script:

http://pastebin.com/3MPibbwz
Reply
#2

Sumeone has a idea?
Reply
#3

Can we see the race code ?
That might help.
Reply
#4

Quote:
Originally Posted by Stigg
Посмотреть сообщение
Can we see the race code ?
That might help.
I posted a pastebin in the first post
Reply
#5

BUMP
Reply
#6

I'm 99% sure that you missed a bracket. Everyone of the 26 errors stands for a public that is accidentally standing in a function because there is a ) missing somewhere. Give us the code from line 200 to 150

EDIT:
1st mistake
Line 86:
Код:
SetPlayerPos(playerid,2218.4434,1914.8340,68.0481); // parkourspawn
Also it seems like PAWNo doesn't like you "case 1", "case 2" etc. Try to make it with an if-else structure
Reply
#7

I've looked everywhere for the missing bracket but i couldnt find it and i use case 0 for an other race and that one works PERFECTLY!
Reply
#8

BUMP
Reply
#9

Does it has to be like this?:

pawn Код:
case: 63
        {
            SetPlayerRaceCheckpoint(playerid,0,2172.722412,1081.543701,85.931182,0.0,0.0,0.0,3); /* Come-A-Lot */
            RaceCheckpoint[playerid] = 64;
            }
    return 1;
}
Reply
#10

Can't you just say it?
I cant find it..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)