10.03.2011, 11:00
If you wan't to GetVehicle Doors (state is locked or opened) you're using this like:
pawn Код:
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, doors, bonnet, boot, objective);
if(doors) // If doors, are opened.
{
SetVehicleParamsEx(GetPlayerVehicleID(playerid), engine, lights, alarm, VEHICLE_PARAMS_ON, bonnet, boot, objective);
}