Errors;
#5

C:\Users\Owner\Desktop\New Folder\gamemodes\xxxxx.pwn(301 : error 036: empty statement
C:\Users\Owner\Desktop\New Folder\gamemodes\xxxxx.pwn(3022) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.
line 3018;
if(carid == 19 || carid == 38 || carid == 16 || carid == 43 || carid == 44 || carid == 45 || carid == 46 || carid == 42 || carid == 41 || carid == 40 || carid == 39);

line 3022;
return 0;

full code;
pawn Код:
public IsACopCar(carid)
{
    if(carid == 19 || carid == 38 || carid == 16 || carid == 43 || carid == 44 || carid == 45 || carid == 46 || carid == 42 || carid == 41 || carid == 40 || carid == 39);
    {
        return 1;
    }
    return 0;
}
EDIT: Gah, pawn code fucked up the indentation, lol.
Reply


Messages In This Thread
Errors; - by Devine - 30.09.2009, 23:18
Re: Errors; - by Sayaron - 30.09.2009, 23:21
Re: Errors; - by Devine - 30.09.2009, 23:25
Re: Errors; - by kujox4 - 30.09.2009, 23:27
Re: Errors; - by Devine - 30.09.2009, 23:30
Re: Errors; - by kujox4 - 30.09.2009, 23:33
Re: Errors; - by Sayaron - 30.09.2009, 23:42
Re: Errors; - by Devine - 30.09.2009, 23:49
Re: Errors; - by Sayaron - 30.09.2009, 23:51
Re: Errors; - by kujox4 - 30.09.2009, 23:53

Forum Jump:


Users browsing this thread: 1 Guest(s)