Help with an error.
#1

When a player completes the mission in there private vehicle i want it so they get a 2k bouns. Couldn't really figure out how to fix the error.
pawn Код:
public OnPlayerFinishMission(playerid)
{
    //some other stuff here
}
    if(!strmatch(VehicleInfo[vehicleid][Owner],GetName(playerid)) && VehicleInfo[vehicleid][Ownable] == 1) (error line)
    {
        SendClientMessage(playerid, COLOR_GREEN,"Bouns for using private vehicle: $2000");
        GivePlayerMoney(playerid, 2000);
    }
}
pawn Код:
error.
C:\Documents and Settings\Hayden Bruin\Desktop\Pilot Heaven\gamemodes\pilot.pwn(620) : error 010: invalid function or declaration
Reply


Messages In This Thread
Help with an error. - by Haydz - 13.12.2010, 07:08
Re: Help with an error. - by ollis93 - 13.12.2010, 07:10
Re: Help with an error. - by Haydz - 13.12.2010, 07:18
Re: Help with an error. - by Think - 13.12.2010, 07:27
Re: Help with an error. - by SuperS82 - 13.12.2010, 07:29

Forum Jump:


Users browsing this thread: 1 Guest(s)