oh i'm 12 because i don't agree with the majority of the ppl who say it's impossible or is it because i'm telling you to back your false statements with some real facts? explain your logic why this is impossible instead of saying the logic was solid lmfao. your logic is to agree with the majority like a lemming. i'm done with you little buddy.
http://www.gtamodding.com/wiki/TASK_CAR_TEMP_ACTION
Tasks: 1: slows down softly 2: slows down hardly and unusable for ever 3: slows down softly and then drive backwards 4: slows down hardly and turns left while slowing down 5: slows down hardly and turns right while slowing down 6: slows down hardly 7: turns (left) 8: turns (right) 9: drive forwards (with a high rpm) 10: soft turn (right) 11: soft turn (left)
vehicle[] av = world.getallvehicles(model.fromstring("ambulance"));
ped[] pv = world.getallpeds();
for (int i = 0; i < av.length; i++)
{
if (!exists(av) && av.speed <= 15f) { continue; }
gta.native.function.call(get_driver_of_car, av, pv);
gta.native.function.call(task_car_temp_action, pv, av, 1, 1000);
//av.speed = 10f;
}
emergencycall sco decompiled.
GET_CHAR_COORDINATES( sub_1061(), ref l_U115._fU0, ref l_U115._fU4, ref l_U115._fU8 );
GET_NTH_CLOSEST_CAR_NODE( l_U115._fU0, l_U115._fU4, l_U115._fU8, 40, ref l_U121._fU0, ref l_U121._fU4, ref l_U121._fU8 );
GET_NTH_CLOSEST_CAR_NODE( l_U115._fU0, l_U115._fU4, l_U115._fU8, 5, ref l_U118._fU0, ref l_U118._fU4, ref l_U118._fU8 );
if (l_U139 > 15)
{
l_U102 = 6;
}
if (l_U103 == 1)
{
if (CREATE_EMERGENCY_SERVICES_CAR_RETURN_DRIVER( l_U262, l_U118._fU0, l_U118._fU4, l_U118._fU8, ref l_U273, ref l_U280, ref l_U277 ))
{
if (IS_VEH_DRIVEABLE( l_U273 ))
{
if (NOT (IS_CHAR_INJURED( l_U280 )))
{
SET_CHAR_AS_MISSION_CHAR( l_U280 );
SET_LOAD_COLLISION_FOR_CHAR_FLAG( l_U280, 0 );
TASK_CAR_DRIVE_TO_COORD( l_U280, l_U273, l_U118._fU0, l_U118._fU4, l_U118._fU8, 8.00000000, 0, l_U262, 2, 5.00000000, 20 );
SWITCH_CAR_SIREN( l_U273, 1 );
SET_INFORM_RESPECTED_FRIENDS( l_U280, 999, 999 );
FORCE_CAR_LIGHTS( l_U273, 2 );
SET_HAS_BEEN_OWNED_BY_PLAYER( l_U273, 0 );
LOCK_CAR_DOORS( l_U273, 1 );
sub_12865();
}
if (NOT (IS_CHAR_INJURED( l_U277 )))
{
SET_CHAR_AS_MISSION_CHAR( l_U277 );
SET_LOAD_COLLISION_FOR_CHAR_FLAG( l_U277, 0 );
SET_INFORM_RESPECTED_FRIENDS( l_U277, 999, 999 );
}
}
GET_GAME_TIMER( ref l_U133 );
l_U102 = 3;
}
....
if (NOT (IS_CHAR_INJURED( l_U280 )))
{
CLEAR_CHAR_TASKS( l_U280 );
SET_CHAR_KEEP_TASK( l_U280, 1 );
if (l_U102 == 3)
{
if (IS_VEH_DRIVEABLE( l_U273 ))
{
TASK_CAR_DRIVE_WANDER( l_U280, l_U273, 10, 6 );
}
}
if (l_U102 == 4)
{
if (IS_VEH_DRIVEABLE( l_U274 ))
{
TASK_CAR_DRIVE_WANDER( l_U280, l_U274, 10, 6 );
}
}
if (l_U102 == 5)
{
if (IS_VEH_DRIVEABLE( l_U275 ))
{
TASK_CAR_DRIVE_WANDER( l_U280, l_U275, 10, 6 );
}
}
MARK_CHAR_AS_NO_LONGER_NEEDED( ref l_U280 );
l_U280 = nil;
}