Jump to content

no sphere in game with Opcode 0102:


Recommended Posts

Hi,

 

I made a teleport mod when CJ stopped in the sphere he is teleported to another place this mod is woking and also there is a sphere in game.

 

Here a part of this code:

 


:WARP_68

00D6: if 0

00FF: actor $PLAYER_ACTOR 0 ()near_point_on_foot 2536.19 -1656.82 15.19 radius 10.5 10.5 2.0

004D: jump_if_false ££WARP_72

00BC: text_highpriority 'TELE_15' 3000 ms 1 ; Ganton to Trucker missions

00D6: if 0

0102: actor $PLAYER_ACTOR stopped_near_point_on_foot 2536.19 -1656.82 15.19 radius 1.0 1.0 2.0 sphere 1

004D: jump_if_false ££WARP_72

016A: fade 0 () 500 ms

01B4: set_player $PLAYER_CHAR frozen_state 0 (frozen)

0001: wait 500 ms

00A1: put_actor $PLAYER_ACTOR at -73.91 -1127.773 1.02

0173: set_actor $PLAYER_ACTOR z_angle_to 145.0

0001: wait 1500 ms

01B4: set_player $PLAYER_CHAR frozen_state 1 (unfrozen)

0373: set_camera_directly_behind_player

02EB: restore_camera_with_jumpcut

016A: fade 1 (back) 500 ms

0002: jump ££WARP_4

 

 

 

 

Then I made a ATM Mod if CJ stopped in sphere at the ATM it will give money to him. The code is working but there is no sphere in game with the same opcode.

 

Here a part of this code:

 

 

:ATM_6

0001: wait 250 ms

00D6: if 0

0256: player $PLAYER_CHAR defined

004D: jump_if_false ££ATM_6

00D6: if 0

0102: actor $PLAYER_ACTOR stopped_near_point_on_foot 2476.26 -1746.42 13.54 radius 0.5 0.5 2.0 sphere 1

004D: jump_if_false ££ATM_8

00D6: if 0

0038: $atm1 == 0

004D: jump_if_false ££ATM_12

0002: jump ££ATM_16

 

 

 

I don't know what I'm doing wrong

 

Ihope somebody can help me.

Link to comment
https://gtaforums.com/topic/270533-no-sphere-in-game-with-opcode-0102/
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
  • 0 User Currently Viewing
    0 members, 0 Anonymous, 0 Guests

×
×
  • Create New...

Important Information

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