Телепорт с машиной.

Статус
В этой теме нельзя размещать новые ответы.

Ulrich545

Новичок
Автор темы
20
0
Здравствуйте. Пишу cleo телепорт на Arizona RP. Хотел бы спросить... Вот когда я сажусь в машину и телепортируюсь, меня кикает. Какой код мне надо дописать чтобы я мог телепортироваться с машиной?
код:
{$CLEO}
0000:

repeat
wait 0
until samp.Available()
chatmsg "{3300CC}[ArizonaTP]: {FF0000}Автор: {FFFFFF}{ffffff}. Специально для {FF0000}{ffffff}."
0B34: samp register_client_command "atp" to_label @atp

repeat
wait 0
if 0B3C: samp is_dialog_responded id 0 button 1@ list_item 2@ input_text 0
then
if 1@ == 1
then
04D7: set_actor $PLAYER_ACTOR locked 1
if 2@ == 1
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1495.0 -1282.0 14.0 no_offset
end

if 0@ == 2
then
1@ = 1974.22
2@ = -1674.36
3@ = 15.9688
end

if 2@ == 3
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1173.58 1363.65 10.82 no_offset
end

if 2@ == 4
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1630.37 -1154.57 24.07 no_offset
end

if 2@ == 6
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1181.09 -1334.71 13.57 no_offset
end

if 2@ == 7
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -2673.04 634.19 14.45 no_offset
end

if 2@ == 8
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1620.83 1820.87 10.82 no_offset
end

if 2@ == 10
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1546.37 -1675.63 13.56 no_offset
end

if 2@ == 11
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -1605.62 715.57 12.23 no_offset
end

if 2@ == 12
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2286.94 2426.20 10.82 no_offset
end

if 2@ == 13
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 633.87 -571.86 16.34 no_offset
end

if 2@ == 15
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -2053.10 -80.22 35.32 no_offset
end

if 2@ == 16
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2420.62 1662.80 10.82 no_offset
end

if 2@ == 18
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -56.69 85.07 3.12 no_offset
end

if 2@ == 19
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -86.00 -307.00 1.42 no_offset
end

if 2@ == 20
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1973.79 -1969.96 13.58 no_offset
end

if 2@ == 22
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2689.15 -2410.57 13.46 no_offset
end

if 2@ == 23
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -1546.25 498.84 7.18 no_offset
end

if 2@ == 24
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 344.22 1790.85 18.01 no_offset
end

if 2@ == 26
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1764.03 -1892.65 13.56 no_offset
end

if 2@ == 27
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -1975.22 119.44 27.69 no_offset
end

if 2@ == 28
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2844.48 1289.98 11.39 no_offset
end

if 2@ == 30
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2472.87 -1420.68 28.84 no_offset
end

if 2@ == 31
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2187.50 -1764.89 13.38 no_offset
end

if 2@ == 32
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2460.63 -1660.61 13.30 no_offset
end

if 2@ == 33
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2796.20 -1598.21 10.93 no_offset
end

if 2@ == 34
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2002.12 -1114.37 26.78 no_offset
end

if 2@ == 35
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2499.18 -2011.58 13.28 no_offset
end

if 2@ == 37
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 664.88 -361.31 17.76 no_offset
end

if 2@ == 38
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2532.93 -1474.32 23.99 no_offset
end

if 2@ == 40
then
if 0AB6: store_target_marker_coords_to 3@ 4@ 5@
then
0AB6: store_target_marker_coords_to 3@ 4@ 5@
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0AB6: store_target_marker_coords_to 3@ 4@ 5@
04E4: refresh_game_renderer_at 3@ 4@
03CB: set_rendering_origin_at 3@ 4@ 5@
02CE: 5@ = ground_z_at 3@ 4@ 500.0
00A1: put_actor $PLAYER_ACTOR at 3@ 4@ 5@
end
end
04D7: set_actor $PLAYER_ACTOR locked 0
end
end
until false

:atp
0AC6: 0@ = label @Main offset
0B3B: samp show_dialog id 0 caption "[{66CC33}TPA{ffffff}] | By{269BD8} [DaDy]{ffffff}.Special for{269BD8} Cheat-Master{ffffff}." text 0@ button_1 "Выбрать" button_2 "Выход" style 2
samp.CmdRet()

:Main
hex
"{FF6600}Важные{ffffff}:" A
"{ffffff}Мэрия" A
"{ffffff}Центр занятости" A
"{ffffff}Военкомат" A
"{ffffff}Штрафстоянка" A
"{FF0000}Больницы{ffffff}:" A
"{ffffff}Больница [LS]" A
"{ffffff}Больница [SF]" A
"{ffffff}Больница [LV]" A
"{0000FF}Полиция{ffffff}:" A
"{ffffff}Полиция [LS]" A
"{ffffff}Полиция [SF]" A
"{ffffff}Полиция [LV]" A
"{ffffff}Полиция [RC]" A
"{FFFF33}Школы(АШ){ffffff}:" A
"{ffffff}Автошкола[SF]" A
"{ffffff}Авиашкола[LV]" A
"{8B0000}Работы для начинающих{ffffff}:" A
"{ffffff}Ферма" A
"{ffffff}Завод" A
"{ffffff}Грузчики" A //20
"{8B4513}Военные базы{ffffff}:" A
"{ffffff}Army[LS]" A // 22
"{ffffff}Army[SF]" A
"{ffffff}Army[LV]" A
"{4B0082}Железнодорожные станции{ffffff}:" A
"{ffffff}ЖД[LS]" A //26
"{ffffff}ЖД[SF]" A
"{ffffff}ЖД[LV]" A
"{FF4500}Банды{ffffff}:" A
"{ffffff}Night Wolfs" A //30
"{ffffff}SF RIFA" A
"{ffffff}Groove Street" A
"{ffffff}LS Vagos" A
"{ffffff}Ballas" A
"{ffffff}El Coronos(Aztec)" A
"{008080}Для банд{ffffff}:" A
"{ffffff}Саженцы" A //37
"{ffffff}Гурам" A
"{269BD8}Остальное{ffffff}:" A
"{ffffff}Метка" 0 //40
end
 

Zefir2511

Активный
277
32
Здравствуйте. Пишу cleo телепорт на Arizona RP. Хотел бы спросить... Вот когда я сажусь в машину и телепортируюсь, меня кикает. Какой код мне надо дописать чтобы я мог телепортироваться с машиной?
код:
{$CLEO}
0000:

repeat
wait 0
until samp.Available()
chatmsg "{3300CC}[ArizonaTP]: {FF0000}Автор: {FFFFFF}{ffffff}. Специально для {FF0000}{ffffff}."
0B34: samp register_client_command "atp" to_label @atp

repeat
wait 0
if 0B3C: samp is_dialog_responded id 0 button 1@ list_item 2@ input_text 0
then
if 1@ == 1
then
04D7: set_actor $PLAYER_ACTOR locked 1
if 2@ == 1
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1495.0 -1282.0 14.0 no_offset
end

if 0@ == 2
then
1@ = 1974.22
2@ = -1674.36
3@ = 15.9688
end

if 2@ == 3
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1173.58 1363.65 10.82 no_offset
end

if 2@ == 4
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1630.37 -1154.57 24.07 no_offset
end

if 2@ == 6
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1181.09 -1334.71 13.57 no_offset
end

if 2@ == 7
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -2673.04 634.19 14.45 no_offset
end

if 2@ == 8
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1620.83 1820.87 10.82 no_offset
end

if 2@ == 10
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1546.37 -1675.63 13.56 no_offset
end

if 2@ == 11
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -1605.62 715.57 12.23 no_offset
end

if 2@ == 12
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2286.94 2426.20 10.82 no_offset
end

if 2@ == 13
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 633.87 -571.86 16.34 no_offset
end

if 2@ == 15
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -2053.10 -80.22 35.32 no_offset
end

if 2@ == 16
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2420.62 1662.80 10.82 no_offset
end

if 2@ == 18
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -56.69 85.07 3.12 no_offset
end

if 2@ == 19
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -86.00 -307.00 1.42 no_offset
end

if 2@ == 20
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1973.79 -1969.96 13.58 no_offset
end

if 2@ == 22
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2689.15 -2410.57 13.46 no_offset
end

if 2@ == 23
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -1546.25 498.84 7.18 no_offset
end

if 2@ == 24
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 344.22 1790.85 18.01 no_offset
end

if 2@ == 26
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 1764.03 -1892.65 13.56 no_offset
end

if 2@ == 27
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at -1975.22 119.44 27.69 no_offset
end

if 2@ == 28
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2844.48 1289.98 11.39 no_offset
end

if 2@ == 30
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2472.87 -1420.68 28.84 no_offset
end

if 2@ == 31
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2187.50 -1764.89 13.38 no_offset
end

if 2@ == 32
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2460.63 -1660.61 13.30 no_offset
end

if 2@ == 33
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2796.20 -1598.21 10.93 no_offset
end

if 2@ == 34
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2002.12 -1114.37 26.78 no_offset
end

if 2@ == 35
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2499.18 -2011.58 13.28 no_offset
end

if 2@ == 37
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 664.88 -361.31 17.76 no_offset
end

if 2@ == 38
then
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0972: put_actor $PLAYER_ACTOR at 2532.93 -1474.32 23.99 no_offset
end

if 2@ == 40
then
if 0AB6: store_target_marker_coords_to 3@ 4@ 5@
then
0AB6: store_target_marker_coords_to 3@ 4@ 5@
0AF6: samp spawn_player
0972: put_actor $PLAYER_ACTOR at -2168.512 -927.5859 1701.086 no_offset
wait 2500
0AB6: store_target_marker_coords_to 3@ 4@ 5@
04E4: refresh_game_renderer_at 3@ 4@
03CB: set_rendering_origin_at 3@ 4@ 5@
02CE: 5@ = ground_z_at 3@ 4@ 500.0
00A1: put_actor $PLAYER_ACTOR at 3@ 4@ 5@
end
end
04D7: set_actor $PLAYER_ACTOR locked 0
end
end
until false

:atp
0AC6: 0@ = label @Main offset
0B3B: samp show_dialog id 0 caption "[{66CC33}TPA{ffffff}] | By{269BD8} [DaDy]{ffffff}.Special for{269BD8} Cheat-Master{ffffff}." text 0@ button_1 "Выбрать" button_2 "Выход" style 2
samp.CmdRet()

:Main
hex
"{FF6600}Важные{ffffff}:" A
"{ffffff}Мэрия" A
"{ffffff}Центр занятости" A
"{ffffff}Военкомат" A
"{ffffff}Штрафстоянка" A
"{FF0000}Больницы{ffffff}:" A
"{ffffff}Больница [LS]" A
"{ffffff}Больница [SF]" A
"{ffffff}Больница [LV]" A
"{0000FF}Полиция{ffffff}:" A
"{ffffff}Полиция [LS]" A
"{ffffff}Полиция [SF]" A
"{ffffff}Полиция [LV]" A
"{ffffff}Полиция [RC]" A
"{FFFF33}Школы(АШ){ffffff}:" A
"{ffffff}Автошкола[SF]" A
"{ffffff}Авиашкола[LV]" A
"{8B0000}Работы для начинающих{ffffff}:" A
"{ffffff}Ферма" A
"{ffffff}Завод" A
"{ffffff}Грузчики" A //20
"{8B4513}Военные базы{ffffff}:" A
"{ffffff}Army[LS]" A // 22
"{ffffff}Army[SF]" A
"{ffffff}Army[LV]" A
"{4B0082}Железнодорожные станции{ffffff}:" A
"{ffffff}ЖД[LS]" A //26
"{ffffff}ЖД[SF]" A
"{ffffff}ЖД[LV]" A
"{FF4500}Банды{ffffff}:" A
"{ffffff}Night Wolfs" A //30
"{ffffff}SF RIFA" A
"{ffffff}Groove Street" A
"{ffffff}LS Vagos" A
"{ffffff}Ballas" A
"{ffffff}El Coronos(Aztec)" A
"{008080}Для банд{ffffff}:" A
"{ffffff}Саженцы" A //37
"{ffffff}Гурам" A
"{269BD8}Остальное{ffffff}:" A
"{ffffff}Метка" 0 //40
end
У деда спроси
 
Статус
В этой теме нельзя размещать новые ответы.