Covernant Posted February 23, 2007 Share Posted February 23, 2007 (edited) Yay its me again.. lol Ok now it works... but i had to make 2 different threads to stop it o0... :Drunk03A4: name_thread 'Drunk':Drunk_LOOP0001: wait 0 ms00D6: if 00101: actor $PLAYER_ACTOR stopped_near_point 2477.88 -1694.0076 13.5138 radius 2.0 2.0 4.0 sphere 1 004D: jump_if_false @Drunk_LOOP:DrunkPlace0001: wait 50 ms052C: set_player $PLAYER_CHAR drunk_visuals 22503FD: set_player $PLAYER_CHAR handling_responsiveness 1015D: set_gamespeed 0.95//0006: 12@ = 0 // integer values0002: jump @Drunk_LOOP :Drunkend03A4: name_thread 'Drunknd':Drunkend_LOOP0001: wait 0 ms00D6: if 100ec: actor $PLAYER_ACTOR 1 near_point 2477.5 -1697.2253 radius 2.0 2.0004D: jump_if_false @Drunkend_LOOP:DrunkendPlace0001: wait 0 msif 10101: actor $PLAYER_ACTOR stopped_near_point 2477.5 -1697.2253 13.5189 radius 2.0 2.0 4.0 sphere 1 004D: jump_if_false @Drunkend_LOOP052C: set_player $PLAYER_CHAR drunk_visuals 003FD: set_player $PLAYER_CHAR handling_responsiveness 0015D: set_gamespeed 1.00002: jump @Drunkend_LOOP Edited February 24, 2007 by Covernant Link to comment https://gtaforums.com/topic/267994-drunk-sphere/ Share on other sites More sharing options...
space_einstein Posted February 23, 2007 Share Posted February 23, 2007 (edited) Your "if" check is wrong. And you just need to check if you're near the point if you want to be both on foot and in car. Do you check the game code? Edited February 23, 2007 by space_einstein Link to comment https://gtaforums.com/topic/267994-drunk-sphere/#findComment-4065867 Share on other sites More sharing options...
Covernant Posted February 23, 2007 Author Share Posted February 23, 2007 I started doing this 6 days ago... i started this newbie scripting 3 days ago... Whaddaya expect lol. I did look the game code... but for me it's a little... confusing. Things are positioned in different locations. Anyway thank you.. ;D Link to comment https://gtaforums.com/topic/267994-drunk-sphere/#findComment-4065888 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