Thread: Walking peds
View Single Post
Old 05-12-2009   #6
rappo
Professional Dumbass
 
rappo's Avatar
 
Join Date: Aug 2003
Location: Los Angeles
Posts: 7,012
rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.rappo is a God.
So I don't exactly know what all the parameters are, but I took a look at some of Rockstar's code. In bell2.sco you'll find that function being called. So I just replicated the parameters from there and got:

Code:
static void TaskCarDriveToCoordNotAgainstTraffic(b8 unknown01, Vehicle v, f32 x, f32 y, f32 z, u32 unknownInt1, b8 unknown02, f32 unknownF1, u32 unknownInt2, f32 unknownF2, u32 unknownInt3) { NativeInvoke::Invoke("TASK_CAR_DRIVE_TO_COORD_NOT_AGAINST_TRAFFIC", unknown01, v, x, y, z, unknownInt1, unknown02, unknownF1, unknownInt2, unknownF2, unknownInt3); }
So to use it you'd do:

Code:
Vehicle v;
f32 x, y, z;
TaskCarDriveToCoordNotAgainstTraffic(0, v, x, y, z, 24, 0, 400514754, 2, -1f, 200);
Sorry I don't know what all those random numbers are for, I'm just replicating what I saw in the SCO file.
Also I think you live in Russia so... Если ты не понял, я знаю немного русский и могу объяснять по-русски
__________________
rappo is offline   Reply With Quote