Up
  • Mods and files
    • All files
    • Exclusives
    • Author files
    • Best files of the week
    • Upload file
  • News
  • Cheats
  • Articles
  • Guides
  • EN
New comments
GTA 6 GTA 5 GTA San Andreas GTA 4 GTA Vice City GTA 3 Red Dead Redemption 2 Red Dead Redemption Other games Mod Development Miscellaneous
  • Mods and files
  • GTA San Andreas
  • Mods
  • CLEO scripts
  • Invisible Car Fix (fix invisible cars)

Invisible Car Fix (fix invisible cars)

  • Invisible Car Fix (fix invisible cars) / GTA San Andreas
  • Invisible Car Fix (fix invisible cars) / GTA San Andreas
  • Invisible Car Fix (fix invisible cars) / GTA San Andreas
  • Invisible Car Fix (fix invisible cars) / GTA San Andreas
  • Invisible Car Fix (fix invisible cars) / GTA San Andreas
GTA San Andreas / Mods / CLEO scripts
Author:
Nick Scripter
More details
Author's contacts:
Open the site
Uploaded:
CCrypter Subscribe You are subscribed
Size:
8.93 Kb
Uploaded:
18 November 2020
Downloads:
524
Total downloads: 524
Unique downloads: 318
10 / 10
9 people rated the file
SergeyInMafia
Guest
Guest
Hotline Paps
Guest
Говорить
Depeche Mode
Hurricane
CCrypter
No one has rated the file yet.
Download Download in Telegram Download in Discord
To favorites In favorites
  • 1605699120_invisiblecarsfix.zip
    Virus check from Virustotal: the file is safe (view report)
    Download (0.01 MB)

Hello everyone! Have you encountered such a problem - you are in some interior (a stadium, for example) and spawned a car. But she is not! Or rather, it is, it just became invisible.

This fix fixes this problem and you can spawn "visible" cars in all interiors.

It can also be turned off by entering the cheat code "fixcars", which will make a characteristic sound.

For those who want to understand how it works...

Now in order. Car spawners do not take into account the fact that players can spawn cars (and not only) in interiors. Because of this, all cars are attached to interior 0(street),

but because we are not in interior 0, then the visible car will only be in interior 0 (that is, it is “invisible” for us). All this is solved by two lines of code after the car spawns.

Example:

:CarCreating //stream name

wait 0 // wait otherwise the game will freeze

if // if

0ADC: test_cheat "elegy" //cheat code written

jump @CarCreating2 //if the cheat code is written, jump to the "CarCreating2" stream

:CarCreating2 //stream name

wait 0 //wait, otherwise the game will freeze

model.load(#elegy) //load model "elegy"(car model)

038B: load_requested_models //register the model in the game (the model won't load without this opcode)

if //if

model.available(#elegy) //model loaded

jf @CarCreating2 //otherwise go to the beginning of the "CarCreating2" stream

Car.create(0@ #elegy 1@ 2@ 3@) //create a car

077E: get_active_interior_to $ACTIVE_INTERIOR //see which interior the player is in

0840: link_car 0@ to_interior $ACTIVE_INTERIOR // "attach" (make it visible to us) car

car.RemoveReferences(0@) //remove car info

jump @CarCreating //jump to the very beginning of the script

where 0@ is the auto itself; #elegy - car model; 1@ 2@ 3@ - variables (in this case - coordinates); $ACTIVE_INTERIOR - interior number variable.

Just these two lines:

077E: get_active_interior_to $ACTIVE_INTERIOR //see which interior the player is in

0840: link_car 0@ to_interior $ACTIVE_INTERIOR // "attach" (make it visible to us) car

where 0@ is the desired vehicle (vehicle); $ACTIVE_INTERIOR - interior number variable.

But if we change the interior, the car will become “invisible”

The file name and description have been translated. Show original (RU)Show translation (EN)
Invisible Car Fix(фикс невидимых автомобилей)

Всем привет! Вы сталкивались с такой проблемой - вы в каком-нибудь интерьере(стадион, например) и заспавнили машину. Но её нет! Вернее она есть, просто стала невидимой.

Данный фикс исправляет эту проблему и вы можете спавнить «видимые» машины во всех интерьерах.

Также это можно отключить, введя чит-код «fixcars», при этом раздастся характерный звук.

Для тех, кто хочет разобраться, как это работает...

Теперь по порядку. Спавнеры машин не учитывают то, что игроки могут спавнить авто(и не только) в интерьерах. Из-за этого все машины прицепляются к интерьеру 0(улица),

но т.к. мы находимся не в интерьере 0, то и видимой машина будет только в интерьере 0(т.е для нас она «невидима»). Все это решается двумя строчками кода после спавна авто.

Пример:

:CarCreating //наименование потока

wait 0 // ждем, в противному случае игра зависнет

if // если

0ADC: test_cheat «elegy» //чит-код написан

jf @CarCreating //в противном случае переходим в начало потока «CarCreating»

jump @CarCreating2 //если чит-код написан, переходим в поток «CarCreating2»

:CarCreating2 //наименование потока

wait 0 //ждем, в противном случае игра зависнет

model.load(#elegy) //загружаем модель \"elegy\"(модель автомобиля)

038B: load_requested_models //регистрируем модель в игре(без этого опкода модель не загрузится)

if //если

model.available(#elegy) //модель загружена

jf @CarCreating2 //в противном случае переходим в начало потока «CarCreating2»

Car.create(0@ #elegy 1@ 2@ 3@) //создаем машину

077E: get_active_interior_to $ACTIVE_INTERIOR //смотрим, в каком интерьере находится игрок

0840: link_car 0@ to_interior $ACTIVE_INTERIOR //\"прицепляем\"(делаем ее видимой для нас) машину

car.RemoveReferences(0@) //удаляем инфу о машине

jump @CarCreating //переходим в самое начало скрипта

где 0@ - само авто; #elegy - моделька авто; 1@ 2@ 3@ - переменные(в данном случае - координаты); $ACTIVE_INTERIOR - переменная номера интерьера.

Всего вот эти две строчки:

077E: get_active_interior_to $ACTIVE_INTERIOR //смотрим, в каком интерьере находится игрок

0840: link_car 0@ to_interior $ACTIVE_INTERIOR //\"прицепляем\"(делаем ее видимой для нас) машину

где 0@ - нужное ТС(транспортное средство); $ACTIVE_INTERIOR - переменная номера интерьера.

Делают авто «видимым» для нас. Но если мы поменяем интерьер, то машина станет «невидимой»

Comments 3
© 2008- LibertyCity
Creator and developer: Evgenii Sokolov
Copying materials without the permission of the administration or the respective owners is strictly prohibited.
Contact us
Mobile version Desktop version
Mods and files News and articles Cheats and guides Users
Click here for advanced file search