- 238
- 17
Мне нужно чтобы сначала телепортировало на корды (1774.4238, -1557.2587, 3537.2974) Задержка 1 секунда, после чего на корды (1765.6700, -1557.2490, 3537.2974) после него должен произойти быстрый телепорт на корды (1133.33, -1749.01, 13.5703)
CLEO:
{$CLEO .cs}
0000: NOP
repeat
wait 0
until SAMP.Available()
0B34: samp register_client_command "tp" to_label @tp
:tp
wait 0
if 0039: 1@ == true
then
03CB: set_rendering_origin_at 1@ 2@ 3@
04E4: refresh_game_renderer_at 1@ 2@
02CE: 8@ = ground_z_at 1@ 2@ 999.0
8@ += 30.0
wait 100
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 1@ 2@ 8@
Actor.PutAt($PLAYER_ACTOR,1@,2@,-999.0)
wait 0
02CE: 8@ = ground_z_at 1@ 2@ 999.0
Actor.PutAt($PLAYER_ACTOR,1@,2@,8@)
end
if and
Actor.PutAt($PLAYER_ACTOR, 1774.4238, -1557.2587, 3537.2974) // 1 корды
wait 1000
Actor.PutAt($PLAYER_ACTOR, 1765.6700, -1557.2490, 3537.2974) // 2 корды
Actor.PutAt($PLAYER_ACTOR, 1133.33, -1749.01, 13.5703) // 3 корды
0039: 1@ == true
then
0006: 1@ = false
chatmsg "{3C64AF}[TP] {ffffff}вы были телепортированы." 16777215
end
samp.CmdRet()