PimmelCrahserHD
New member
- Joined
- Feb 9, 2018
- Messages
- 3
- Reaction score
- 0
Hello, i[font=arial, sans-serif] recently downloaded ROUBO_IMEDIATO.cs, this mod can teleport you into locked cars (i edited it a little bit)... but the teleport range is too high, can someone reduce the range so that teleports me in a car if im like next to it or even touch the car?[/font]
	
	
	
		
			
			
		Code:
	
	// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
thread "ROUBAR" 
:ROUBAR_10
wait 0 
if 
044B:   actor $PLAYER_ACTOR on_foot 
   not Actor.Driving($PLAYER_ACTOR)
:ROUBAR_28
wait 0 
if and 
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 8.0 0.0 
0AB0:   key_pressed 45 
else_jump @ROUBAR_10 
if 
0AE2: $CAR = random_vehicle_near_point 1@ 2@ 3@ in_radius 1 find_next 0 pass_wrecked 0 //IF and SET 
else_jump @ROUBAR_10 
036A: put_actor $PLAYER_ACTOR in_car $CAR 
wait 500 
jump @ROUBAR_28 
				