- 4,815
- 6,515
Идея годная, но сунуть там его никак. Буду работать https://drive.google.com/file/d/0B7EnJtlOGUiDakl2bWd2YTVwVXM/edit?usp=sharing
PHP:
{$CLEO}
0@ = 75.0
1@ = 0
2@ = 0
:Start
while true
wait 0
if 0ADC: test_cheat "CARDL"
then
if 1@ == 0
then
0ACD: show_text_highpriority "On" time 1337
1@ = 1
else
0ACD: show_text_highpriority "Off" time 1337
1@ = 0
end
end
if 1@ == 1
then
:s1
wait 0
00A0: store_actor $PLAYER_ACTOR position_to 14@ 15@ 16@
00D6: if
0AE2: $ACTOR_CAR = random_vehicle_near_point 14@ 15@ 16@ in_radius 3600.0 find_next 0 pass_wrecked 0
004D: jump_if_false @s2
gosub @draw_text
:s2
for 2@ = 1 to 101
00A0: store_actor $PLAYER_ACTOR position_to 14@ 15@ 16@
if 0AE2: $ACTOR_CAR = random_vehicle_near_point 14@ 15@ 16@ in_radius 3600.0 find_next 1 pass_wrecked 0
then gosub @draw_text
else
gosub @draw_text
jump @Start
end
end
end
end
end
end
:draw_text
wait 0
if
2@ < 100
then
0B2C: samp 5@ = get_vehicle_id_by_car_handle 31@
0B44: samp 15@ = create_3d_text "Custom Text" color 0xFFFFFFFF position 0.0 0.0 0.0 view_distance 0@ show_behind_walls true attached_to_player -1 attached_to_vehicle 5@
else
gosub @remove_text
end
return
:remove_text
for 2@ = 0 to 101
if
0B46: samp 3d_text 2@ defined
then
0B45: samp destroy_3d_text 2@
end
end
return
Говнокод 100ый лвл! С ним я могу все!