Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Criminal Enterprises
      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

*DO NOT* SHARE MEDIA OR LINKS TO LEAKED COPYRIGHTED MATERIAL. Discussion is allowed.

question teleport cleo script


polidoros4433
 Share

Recommended Posts

polidoros4433

hello im making a mod and i want to make a red marker so when i walk into it to teleport me to an area i want some coords example 0.1222 121521 12125 is it possible?

Edited by polidoros4433
Link to comment
Share on other sites

sure it is

 

just insert your coord at X1 Y1 Z1 (the sphere will appear there)

 

and X2 Y2 Z2 cj will appear here

 

 

{$CLEO .cs}03A4: name_thread 'TELE':TELE_21wait 0if 0256:   player $PLAYER_CHAR definedjf @TELE_2100D6: if and0038:   $ONMISSION == 0 80DF:   not actor $PLAYER_ACTOR driving 00FF:   actor $PLAYER_ACTOR sphere 1 in_sphere X1 Y1 Z1 radius 1.0 1.0 1.0 on_foot  jf @TELE_21016A: fade 0 time 1000 0001: wait 1000 ms 03CB: set_rendering_origin_at X2 Y2 Z300A1: put_actor $PLAYER_ACTOR at X2 Y2 Z20001: wait 500 ms 016A: fade 1 time 1000 jump @TELE_21

 

 

this is just a simple one, so you can't teleport into interriors and you can't be teleported to the point X1 Y1 Z1

 

 

 

Link to comment
Share on other sites

polidoros4433
sure it is

 

just insert your coord at X1 Y1 Z1 (the sphere will appear there)

 

and X2 Y2 Z2 cj will appear here

 

 

{$CLEO .cs}03A4: name_thread 'TELE':TELE_21wait 0if 0256:   player $PLAYER_CHAR definedjf @TELE_2100D6: if and0038:   $ONMISSION == 0 80DF:   not actor $PLAYER_ACTOR driving 00FF:   actor $PLAYER_ACTOR sphere 1 in_sphere X1 Y1 Z1 radius 1.0 1.0 1.0 on_foot  jf @TELE_21016A: fade 0 time 1000 0001: wait 1000 ms 03CB: set_rendering_origin_at X2 Y2 Z300A1: put_actor $PLAYER_ACTOR at X2 Y2 Z20001: wait 500 ms 016A: fade 1 time 1000 jump @TELE_21

 

 

this is just a simple one, so you can't teleport into interriors and you can't be teleported to the point X1 Y1 Z1

so this one works from example groove street to san fierro station right?

Link to comment
Share on other sites

polidoros4433

Siggi i used ur script like:

 

{$CLEO .cs}03A4: name_thread 'TELE':TELE_21wait 0if0256:   player $PLAYER_CHAR definedjf @TELE_2100D6: if and0038:   $ONMISSION == 080DF:   not actor $PLAYER_ACTOR driving00FF:   actor $PLAYER_ACTOR sphere 1 in_sphere -53.7944 23.8655 7.4181 radius 1.0 1.0 1.0 on_foot  jf @TELE_21016A: fade 0 time 10000001: wait 1000 ms03CB: set_rendering_origin_at 211.5379 87.8283 8.778100A1: put_actor $PLAYER_ACTOR at 211.5379 87.8283 8.77810001: wait 500 ms016A: fade 1 time 1000jump @TELE_21

 

 

the red marker appears but doesnt teleport to the other place confused.gif

Edited by polidoros4433
Link to comment
Share on other sites

Not necessarily solving the problem, but why are you setting the rendering origin? I didn't need to before

Link to comment
Share on other sites

polidoros4433

i tried disabling it but when i try to compile it it appears error doesnt let me to compile.. needs more parameters.. rolleyes.gif

Link to comment
Share on other sites

to fix that error just delete the whole :

 

03CB: set_rendering_origin_at 211.5379 87.8283 8.7781

 

 

 

james is right; this line is not necessary because the exe will render that area automaticly when the player enter it

 

you can check other teleporter scripts to find out more about them:

 

-Crack Palace teleporter script

 

- Wuzis betshop enterable

 

those scripts teleport into interriors so here is an older script (one of the first I wrote blush.gif ) :

 

 

// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007{$VERSION 3.1.0027}{$CLEO .cs}//-------------MAIN---------------03A4: name_thread "TELEPORTATION3" 0001: wait 1000 ms :TELEPORTATION2_230001: wait 0 ms 00D6: if 0256:   player $PLAYER_CHAR defined 004D: jump_if_false @TELEPORTATION2_23 00D6: if 0038:   $ONMISSION == 0 004D: jump_if_false @TELEPORTATION2_23 00FF:   actor $PLAYER_ACTOR sphere 1 in_sphere 2124.637 2379.301 10.8203 radius 1.0 1.0 1.0 on_foot 004D: jump_if_false @TELEPORTATION2_23 00A1: put_actor $PLAYER_ACTOR at 2059.649 2435.161 165.6172 0002: jump @TELEPORTATION2_23 

 

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.