Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Support

    3. Suggestions

Car doesnt show up


yair1221
 Share

Recommended Posts

what reasons could there be for a car not to show up?

its not like a parked car, its a car.create(...)

sometimes it shows up,sometimes it doesnt,here is the script:

 

 

{$CLEO}thread 'Car'model.load(#BOBCAT):checkwait 0ifmodel.available(#BOBCAT)jf @check:1car.create(BOBCAT, X.X, Y.Y, Z.Z)end_thread

 

 

what is so wrong about this?

the coords arent wrong,because sometimes it does show up

thats the whole script, it is supposed to run once

Link to comment
Share on other sites

The car is probably falling beneath the map because it's spawning in an unloaded area. Check if this player is in the area first, then place the car

Link to comment
Share on other sites

oh

you mean,the area isnt loaded fast enough?

because the player is nearby, a few hangars to the left, its in the air and all that, how am i supposed to prevent this? add a wait condition?

 

and by the way:

what does the car immunities means? there is immunities from missiles,melee and stuff,but all it writes is P1 P2 P3 P4 P5 P6

Link to comment
Share on other sites

 

end_thread

 

 

Don't use it for CLEO Scripts... Use 0A93.

 

 

And try reading the Sanny Builder help file (CLEO 3 Code Library) for the important information on how to properly use CLEO Scripts.

Link to comment
Share on other sites

Parameter 1,2,3,4,5,6-

 

You can perfomr a quick search in the forums and you will find wich number represents what.

Yl8KS.jpg
Link to comment
Share on other sites

with all due respect to your little CLEO rules,but nothing have changed since i added 0A93:

the normal end_thread has worked fine so far so why to change it?

and for the P1 P2 P3 P4 P5 P6:

which codewords to search for?

Link to comment
Share on other sites

 

the normal end_thread has worked fine so far so why to change it?

and for the P1 P2 P3 P4 P5 P6:

which codewords to search for?

Sometimes a failure don't cause a crash, just nothing happens and can also cause that other scripts won't work properly.

end_thread is the keyword for 004E: end_thread and is only allowed in main.scm and cleo mission scripts: *.cm files

In *.cs files and *.s file we have to use 0A93: end_custom_thread

Otherwise it can cause crashes, bugs, etc...

 

 

BP 0 FP 0 EP 1 CP 1 MP 0

bullet proof, fire proof, explosion proof, crash proof, melee proof

 

Link to comment
Share on other sites

CLEO never crashed with end_thread for me,and its easier to write because you dont have to write the opcode

Link to comment
Share on other sites

Right yes, because writing

 

 

0A93:

 

 

is as hard and time consuming as writing a 1000 word novel, right?

 

[/sarcasm]

 

All you have to do is type 0A93. You DO NOT need to write the end_custom_thread part. That is removed by the compiler after compiling anyway

Link to comment
Share on other sites

still, having a little hard times using opcodes instead of words,im better in english than in coding sad.gif

Link to comment
Share on other sites

Just type "end_ct" and hit Ctrl+F1...

 

If it comes up with "end_custom_thread" instead, hit Ctrl+Z and then Ctrl+F1 again... There are only two possible things it could give and last time I checked "end_ct" is actually shorter than "end_thread".

 

 

Although I guess due to the underrated qwerty layout, typing "read" is fast and you can do it with one hand... Still, I bet half of internet users wish you could do that with the letters O N R and P... lol.gif

Link to comment
Share on other sites

it does nothing,typing end_ct and then pressing Ctrl+F1

i tried doing that with the marked, and i tried otherwise,nothing

Link to comment
Share on other sites

In that case, you probably need to update your opcodes.txt file here..

Link to comment
Share on other sites

You have to type end_cu put the cursor after u and press Ctrl + f1

Edited by BnB
Link to comment
Share on other sites

God.. just write end_custom_thread. For god sake don't be that lazy.

 

If you dont want to use it, dont use it. But fix the possible problems yourself.

Yl8KS.jpg
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.