DzkAy
Well-known member
- Joined
- Feb 20, 2014
- Messages
- 472
- Reaction score
- 1
Code:
0B34: samp register_client_command "vgoto" to_label @VGOTO_268
30@ = 0
:VGOTO_01
wait 0
if
30@ == 1
jf @VGOTO_01
30@ = 0
SAMP.CmdRet
wait 0
0407: store_coords_to 13@ 14@ 15@ from_car 11@ with_offset 0.0 -1.0 -1.0
wait 100
Actor.PutAt($PLAYER_ACTOR, 13@, 14@, 15@)
jump @VGOTO_01
:VGOTO_268
wait 0
SAMP.IsCommandTyped(9@)
if
0AD4: 10@ = scan_string 9@ format "%d" 12@
else_jump @VGOTO_398
11@ = SAMP.GetVehicleHandleBySAMPVehicleID(12@)
if
056E: car 11@ defined
else_jump @VGOTO_456
30@ = 1
SAMP.CmdRet
goto @VGOTO_01
:VGOTO_398
wait 0
0AF8: samp add_message_to_chat "[D-WARP]: /vgoto <VehicleID>" color -1
30@ = 0
SAMP.CmdRet
:VGOTO_456
wait 0
0AF8: samp add_message_to_chat "[D-WARP]: Vehicle Is Not Streamed in / Not Available" color -1
SAMP.CmdRet
30@ = 0
goto @VGOTO_01
The Problem is that the line
Store_coords_from_car
and Actor.PutAt .... Seems not to work
-It's just do nothing ...
Pls help , i've tried to fix but still fail. :bawww: