herbie49 Posted March 25, 2007 Share Posted March 25, 2007 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_60001: wait 250 ms00D6: if 0 0256: player $PLAYER_CHAR defined004D: jump_if_false ££ATM_600D6: if 00102: actor $PLAYER_ACTOR stopped_near_point_on_foot 2476.26 -1746.42 13.54 radius 0.5 0.5 2.0 sphere 1004D: jump_if_false ££ATM_800D6: if 00038: $atm1 == 0004D: jump_if_false ££ATM_120002: 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 More sharing options...
DeeZire Posted March 25, 2007 Share Posted March 25, 2007 Try changing the wait to 0ms. Link to comment https://gtaforums.com/topic/270533-no-sphere-in-game-with-opcode-0102/#findComment-4112370 Share on other sites More sharing options...
herbie49 Posted March 25, 2007 Author Share Posted March 25, 2007 @DeeZire Thanks for the fast reply, and the best is, it's working. I have the sphere in game now. thanks again Link to comment https://gtaforums.com/topic/270533-no-sphere-in-game-with-opcode-0102/#findComment-4112461 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now