Weird error help
#1

Well, I want to compare the numbers from 2 different files. I get the following errors:

pawn Код:
C:\Users\Kreso\Desktop\SAMP Server\gamemodes\vehtest.pwn(83) : error 036: empty statement
C:\Users\Kreso\Desktop\SAMP Server\gamemodes\vehtest.pwn(87) : error 029: invalid expression, assumed zero
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
This is the code I get the error at:

pawn Код:
for(new i = 0; i < OWNED_CARS; i ++)
    {
        new file[50];
        format(file, sizeof(file), "vehicles/%d.json", i);
        if(djInt(file, "player/owner") == djInt("users/Admin.json", "vehicle/ID"));
        {
        SendClientMessage(playerid, 0x355262, "Welcome to your vehicle");
        }
        else
        {
        RemovePlayerFromVehicle(playerid);
        }
    }
Error 83 is at If..., and 87 at Else...
Reply


Messages In This Thread
Weird error help - by Outcast - 14.01.2011, 15:25
Re: Weird error help - by Steven Paul - 14.01.2011, 15:26
Re: Weird error help - by Outcast - 14.01.2011, 15:28
Re: Weird error help - by Steven Paul - 14.01.2011, 15:30
Re: Weird error help - by Outcast - 14.01.2011, 15:35
Re: Weird error help - by Steven Paul - 14.01.2011, 15:48

Forum Jump:


Users browsing this thread: 3 Guest(s)