DazzMond
Нуль
- Регистрация
- 20 Дек 2019
- Сообщения
- 2
- Лучшие ответы
- 0
- Репутация
- 0
Нужна ваша помощь, сделайте пожалуйста что бы активация была в две клавиши а не в одну, суть скрипта, удаление переднего и заднего бампера при нажатии клавиши "Q" Сделайте пожалуйста что бы при нажатии Num 7 Удалялся передний а при нажатии Num 9 удалялся передний
{$CLEO .cs}
0000:
repeat
wait 0
until Samp.Available()
while true
wait 0
if and
0C89: key_just_pressed 81
00DF: actor $PLAYER_ACTOR driving
847A: not actor $PLAYER_ACTOR driving_bike
84A7: not actor $PLAYER_ACTOR driving_boat
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
then
03C0: 0@ = actor $PLAYER_ACTOR car
// 0730: car 0@ damage_component 5
// 0730: car 0@ damage_component 6
0697: set_car 0@ remove_component 5 visible_effect_flag 0
0697: set_car 0@ remove_component 6 visible_effect_flag 0
end
end
{$CLEO .cs}
0000:
repeat
wait 0
until Samp.Available()
while true
wait 0
if and
0C89: key_just_pressed 81
00DF: actor $PLAYER_ACTOR driving
847A: not actor $PLAYER_ACTOR driving_bike
84A7: not actor $PLAYER_ACTOR driving_boat
84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
then
03C0: 0@ = actor $PLAYER_ACTOR car
// 0730: car 0@ damage_component 5
// 0730: car 0@ damage_component 6
0697: set_car 0@ remove_component 5 visible_effect_flag 0
0697: set_car 0@ remove_component 6 visible_effect_flag 0
end
end