30.01.2014, 16:05
Well the title says it all..
I've tried this under OnVehicle Spawn
But no success..
I've tried this under OnVehicle Spawn
pawn Код:
if(IsModelABycicle(vehicleid))
{
new engine,lights,alarm,doors,bonnet,boot,objective;
GetVehicleParamsEx(GetPlayerVehicleID(vehicleid),engine,lights,alarm,doors,bonnet,boot,objective);
SetVehicleParamsEx(GetPlayerVehicleID(vehicleid),VEHICLE_PARAMS_ON,lights,alarm,doors,bonnet,boot,objective);
engineOn[GetPlayerVehicleID(vehicleid)] = true;
gEngine[vehicleid] = true;
engineOn[vehicleid] = true;
return 1;
}