help me
#10

I get this error when i use that code
Код:
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(69) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(70) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(84) : error 017: undefined symbol "GetVehicleDamageStatus"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(85) : error 017: undefined symbol "GetVehicleParamsEx"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(86) : error 017: undefined symbol "UpdateVehicleDamageStatus"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(87) : error 017: undefined symbol "SetVehicleParamsEx"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "objective"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "boot"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "bonnet"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "doors2"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "alarm"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "lights2"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "engine"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "tires"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "lights"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "doors"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83) : warning 203: symbol is never used: "pannels"
C:\Documents and Settings\Abraham2\Desktop\Abe\filterscripts\ACCIDENT.pwn(83 -- 89) : error 001: expected token: "#endif", but found "-end of file-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Heres what i have:
pawn Код:
//On Top:
new DamagedCheetah;
new DamagedVictom;

//under public OnFilterScriptInit
    DamagedCheetah = CreateVehicle(415, -1551, 727, 7, 259.99694824219, 6, 0); //Cheetah
    DamagedVictom = CreateVehicle(402, -1548, 727, 7, 45.999755859375, 79, 0); //Victom

//Under public OnVehicleSpawn(vehicleid)
    if(vehicleid==DamagedCheetah || vehicleid==DamagedVictom)
    {
    SetVehicleHealth(vehicleid, 120.0); //Change This to the amount you wish to have.
    new pannels,doors,lights,tires,engine,lights2,alarm,doors2,bonnet,boot,objective;
    GetVehicleDamageStatus(vehicleid,panels,doors,lights,tires);
    GetVehicleParamsEx(vehicleid,engine,lights2,alarm,doors2,bonnet,boot,objective);
    UpdateVehicleDamageStatus(vehicleid, 4, 6, 3, 10);//Change it if you want to .
    SetVehicleParamsEx(vehicleid,engine,lights2,alarm,doors2,1,boot,objective);
    }
Reply


Messages In This Thread
help me - by Abraham2nds - 11.12.2010, 17:20
Respuesta: help me - by RatHack - 11.12.2010, 17:21
Re: help me - by Abraham2nds - 11.12.2010, 17:23
Re: help me - by hanzen - 11.12.2010, 17:28
Re: help me - by [MF]FACE - 11.12.2010, 17:31
Re: help me - by WillyP - 11.12.2010, 17:31
Re: help me - by Abraham2nds - 11.12.2010, 17:42
Re: help me - by [MF]FACE - 11.12.2010, 17:51
Re: help me - by Derksen123 - 11.12.2010, 18:00
Re: help me - by Abraham2nds - 12.12.2010, 12:00

Forum Jump:


Users browsing this thread: 1 Guest(s)