20.10.2011, 17:05
Your code:
My code:
How's it the same ? You forgot engine. Can you read ?
https://sampwiki.blast.hk/wiki/GetVehicleParamsEx
https://sampwiki.blast.hk/wiki/SetVehicleParamsEx
pawn Код:
GetVehicleParamsEx(vehicleid,lights,alarm,doors,bonnet,boot,objective);
TogVehicleBonnet(vehicleid, 0);
pawn Код:
GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);//you forgot engine
SetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, false, boot, objective);//toggle bonnet true or false
https://sampwiki.blast.hk/wiki/GetVehicleParamsEx
https://sampwiki.blast.hk/wiki/SetVehicleParamsEx