:ToggleCollide
1@ = Actor.CurrentCar($PLAYER_ACTOR)
0A8D: 29@ = read_memory 0xB74494 size 4 virtual_protect 0
29@ += 0x4
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
for 30@ = 0 to 27904 step 0x100
0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
000A: 29@ += 0x1
if and
0029: 31@ >= 0x00
001B: 0x80 > 31@
// ??
then
005A: 31@ += 30@
099A: set_car 31@ collision_detection 0@
end
end
0AB2: ret 0
how do u exactly make it so the current car that you're getting (31@) is different from 1@? sanny won't let me compile it my way so im asking
how do u check if a vehicle has a driver btw? i have the forallcars loop, that's all im missing
1@ = Actor.CurrentCar($PLAYER_ACTOR)
0A8D: 29@ = read_memory 0xB74494 size 4 virtual_protect 0
29@ += 0x4
0A8D: 29@ = read_memory 29@ size 4 virtual_protect 0
for 30@ = 0 to 27904 step 0x100
0A8D: 31@ = read_memory 29@ size 1 virtual_protect 0
000A: 29@ += 0x1
if and
0029: 31@ >= 0x00
001B: 0x80 > 31@
// ??
then
005A: 31@ += 30@
099A: set_car 31@ collision_detection 0@
end
end
0AB2: ret 0
how do u exactly make it so the current car that you're getting (31@) is different from 1@? sanny won't let me compile it my way so im asking
how do u check if a vehicle has a driver btw? i have the forallcars loop, that's all im missing