CLEO cs 0000 thread Kraft1k if 8AF7 get_samp_base_to then 0A93 end_cus

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{$CLEO .cs}
0000:
thread "Kraft1k"
if 8AF7: get_samp_base_to 0@
then 0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available
0B34: samp register_client_command "tpm" to_label @go
while true
wait 0
if
12@ == 1
then
wait 1000
actor.LockInCurrentPosition($PLAYER_ACTOR) = true
Actor.Angle($PLAYER_ACTOR) = -90.0
select_interior 5
0860: link_actor $PLAYER_ACTOR to_interior 5
Actor.PutAt($PLAYER_ACTOR, 772.3077, -3.7931, 1005.1831)
0af9: "/nopysl" // Тут должена быть команад /nopysl из другого скрипта Но она не вводится. Только если её самому вводить.
wait 1005
Actor.PutAt($PLAYER_ACTOR, 772.353, -4.7772, 1000.7289)
wait 1000
actor.LockInCurrentPosition($PLAYER_ACTOR) = false
0AB6: store_target_marker_coords_to 0@ 1@ 2@
Actor.PutAt($Player_Actor, 0@, 1@, 2@)
wait 3
0AB6: store_target_marker_coords_to 0@ 1@ 2@
Actor.PutAt($Player_Actor, 0@, 1@, 2@)
12@ = 0
end
end
:go
wait 0
if
0AB6: store_target_marker_coords_to 0@ 1@ 2@
jf @no
12@ = 1
samp.CmdRet()
:no
0AF8: samp add_message_to_chat "Метка не поставлена" color 0xFB0000
samp.CmdRet()