CLEO Help Checking car hood state

CLEO related
Status
Not open for further replies.

34qwredsfvc

Active member
Joined
Mar 23, 2013
Messages
50
Reaction score
4
Hello, is there a way to determine whether a car's hood is open or closed?
 

y0mike

Active member
Joined
May 10, 2014
Messages
97
Reaction score
41
Location
mizus girl's house
call the 34th VFUNC of CVehicle which is a bool that checks whether a component of the vehicle is open.
In c++, it would be like this
[shcode=cpp]
// BONNET = 0,
if ( pVehicle->IsComponentOpen ( eComponents::BONNET ) )
{
// component is open
}
[/shcode]

assuming there is no opcode that checks vehicle component states.
 
Status
Not open for further replies.
Top