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.

::How Do I Change PMG Spawn Location?::


M'kay
 Share

Recommended Posts

I have created a garage of my own with the construction tool and want to spawn my cars inside it when activated by changing the spawn point in the code. The only part in the car mod code...

 

#cheat Thunda Killa - PIMPED: 189-HOTRODsetshort(0x99300B2, 0x54, 0x68, 0x75, 0x6e, 0x64, 0x61, 0x20, 0x4b, 0x69, 0x6c, 0x6c, 0x61);setchar(0x945d1b2, 0x5);setchar(0x945d1b1, 0x50);setchar(0x945d1b0, 0x34);setshort(0x9445310, 250);setfloat(0x944530c, 0.90);setfloat(0x945d130, 1400);setfloat(0x945d138, 0.7);setfloat(0x945d1f0, 0.2);setfloat(0x945d1f4, -0.125);setfloat(0x945d1f8, 0.4);setfloat(0x945d1bc, 1.25);setfloat(0x945d1c0, 1.25);setfloat(0x945d1b4, 0.00287);setfloat(0x945d1d0, 0.5625);setfloat(0x945d1d4, 0);setfloat(0x945d1d8, 30);setfloat(0x945d1e8, 0.875);setfloat(0x945d1ec, 0.13125);setfloat(0x945d204, 0.255);setfloat(0x945d1fc, 0.3);setfloat(0x945d150, 0);setfloat(0x945d154, 0.3);setfloat(0x945d158, -0.29999);setchar(0x945d160, 75);setfloat(0x945d1dc, 0.84375);setfloat(0x945d1e0, 0.51);setfloat(0x945d13c, 0.85714);sethex(0x945d200, 0x93, 0x81, 0x00, 0x03);setchar(0x967E6FC, 0xFF, 0x00, 0xFF);sethex(0x944fb08, 0x03, 0x03, 0x03);sethex(0x944fb38, 0xFF, 0x00, 0x02);setint(0x8E38A38, 189);setchar(0x8E38A5C, 106, 118);sethex(0x8E38A5E, 0x01, 0x00);teleport(292.22, -440.37, 26.02);setchar(pplayer + 0xB84, 0x00);

 

...that shows a coordinates location is the one at the end to teleport the person outside of the garage (already changed that to the coordinates outside of my garage where I want the guy to spawn) but don't see where exactly in the code it shows where the car spawns. I went on PMG and made the car above the exact same except this time put it to spawn at the Portland Garage and compared the two codes. The only difference between the codes other than the guy spawn location was two lines above the guy's coordinates. On the Staunton spawn the line says

setchar(0x8E38A5C, 122, 104);

and the Portland spawn the line says

setchar(0x8E389AC, 112, 117);

 

If this indeed is the place to show where the car spawns, could someone either tell me how to translate it into code (or quickly translate it if you know how) into proper code for the car to spawn at (234.44, -503.80, 26.99).

If this isn't the line of code to show where the car spawns, where is it at (or could someone repost the code with the proper car coordinates that I want)?

 

Thanx for any help! biggrin.gifcolgate.gifbiggrin.gifcolgate.gifbiggrin.gifcolgate.gifbiggrin.gifcolgate.gifbiggrin.gif

 

Link to comment
Share on other sites

vettefan88

 

setchar(0x08E4Eb4c, 189);setchar(0x08E4Eb4c + 0x18, 0x01);setfloat(0x08E4Eb50, X, Y, Z, A); 

 

 

replace X, Y, and Z with the coordinates.

and A with the direction it faces.

 

0=north

90=west

180=south

270=east

Link to comment
Share on other sites

 

setchar(0x08E4Eb4c, 189);setchar(0x08E4Eb4c + 0x18, 0x01);setfloat(0x08E4Eb50, X, Y, Z, A); 

 

 

replace X, Y, and Z with the coordinates.

and A with the direction it faces.

 

0=north

90=west

180=south

270=east

thanx, but I dont see that in my code. there isnt a part where theres 2 chars then a float with 5 sets of # in it. do I add it in? are you sure its a float?

if i confuse you more than im confused, could you plug in my coordinates in my code?

 

also i compared another 2 identical cars, but one spwns at staunton and the other doesnt even spawn. the difference is the one that doesnt spawn but is seen on the road is missing this a couple of lines of code compared to the one that spawns at satunton. heres the stuanton lines that are missing from the non-spawn car:

 

setint(0x8E38A38, 140);setchar(0x8E38A5C, 123, 116);sethex(0x8E38A5E, 0x01, 0x00);teleport(292.22, -440.37, 26.02);

 

if i have this right are you saying i should change this in at the right place in the code:

 

setint(0x8E38A38, *X*);setchar(0x8E38A5C, *Y*, *Z*);sethex(0x8E38A5E, 0x01, *A*);teleport(spawn guy coordinates);

 

Edited by M'kay
Link to comment
Share on other sites

xFinch713x
setchar(0x08E4Eb4c, 189);setchar(0x08E4Eb4c + 0x18, 0x01);setfloat(0x08E4Eb50, X, Y, Z, A); 

 

 

replace X, Y, and Z with the coordinates.

and A with the direction it faces.

 

0=north

90=west

180=south

270=east

thanx, but I dont see that in my code. there isnt a part where theres 2 chars then a float with 5 sets of # in it. do I add it in? are you sure its a float?

if i confuse you more than im confused, could you plug in my coordinates in my code?

 

also i compared another 2 identical cars, but one spwns at staunton and the other doesnt even spawn. the difference is the one that doesnt spawn but is seen on the road is missing this a couple of lines of code compared to the one that spawns at satunton. heres the stuanton lines that are missing from the non-spawn car:

 

setint(0x8E38A38, 140);setchar(0x8E38A5C, 123, 116);sethex(0x8E38A5E, 0x01, 0x00);teleport(292.22, -440.37, 26.02);

 

if i have this right are you saying i should change this in at the right place in the code:

 

setint(0x8E38A38, *X*);setchar(0x8E38A5C, *Y*, *Z*);sethex(0x8E38A5E, 0x01, *A*);teleport(spawn guy coordinates);

 

no .... make it a new code and when you activate it it will be there, or if you add it on... just take out the teleport on the bottom and the GARAGE spawn part...

setint(0x8E38A38, 140);setchar(0x8E38A5C, 123, 116);

 

just take that out along with the teleport and put the new part....

setint(0x8E38A38, *X*);setchar(0x8E38A5C, *Y*, *Z*);sethex(0x8E38A5E, 0x01, *A*);

 

there... and i dont think you need the teleport confused.gif

Link to comment
Share on other sites

not working. dontgetit.gifconfused.gif the thing is i wonder if this:

 

setint(0x8E38A38, *X*);setchar(0x8E38A5C, *Y*, *Z*);sethex(0x8E38A5E, 0x01, *A*);

 

is wrong becasue the A spot used to be0x00 and not a normal #. something doesn't add up right. sorry to ask (no im not lazy but confused) but can someone plug in the right coordinates I need into the code (coordinates for new car spawn are (236.07, -503.84, 26.17, 270.00) or X=236.07 Y=503.84 Z=270.00 A=270. also the person spawn is (252.76, -506.44, 26.02) or X=252.76, Y=-506.44, Z=26.02.

 

thanx!

Edited by M'kay
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.