Skip to content

Commit 0f63e7f

Browse files
committed
A new script for GTA 3: use a grenade as a timed car bomb.
1 parent d45b853 commit 0f63e7f

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed
Binary file not shown.
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
//Made by Vital
2+
SCRIPT_START
3+
SCRIPT_NAME CARGREN
4+
5+
{
6+
LVAR_INT ammo car
7+
8+
main_loop:
9+
WAIT 0
10+
11+
IF IS_PLAYER_PLAYING 0
12+
IF IS_PLAYER_IN_ANY_CAR 0
13+
AND IS_BUTTON_PRESSED PAD1 CIRCLE
14+
AND NOT IS_BUTTON_PRESSED PAD1 LEFTSHOULDER2
15+
AND NOT IS_BUTTON_PRESSED PAD1 RIGHTSHOULDER2
16+
IF NOT IS_PLAYER_IN_MODEL 0 CAR_RHINO
17+
AND NOT IS_PLAYER_IN_MODEL 0 CAR_FIRETRUCK
18+
AND NOT IS_PLAYER_IN_MODEL 0 CAR_RCBANDIT
19+
AND NOT IS_PLAYER_IN_MODEL 0 BOAT_PREDATOR
20+
GET_AMMO_IN_PLAYER_WEAPON 0 WEAPONTYPE_GRENADE ammo
21+
STORE_CAR_PLAYER_IS_IN_NO_SAVE 0 car
22+
IF IS_INT_LVAR_GREATER_THAN_NUMBER ammo 0
23+
AND NOT IS_CAR_ARMED_WITH_ANY_BOMB car
24+
ammo --
25+
SET_PLAYER_AMMO 0 WEAPONTYPE_GRENADE ammo
26+
ARM_CAR_WITH_BOMB car CARBOMB_TIMED
27+
WAIT 0
28+
IF NOT IS_CAR_DEAD car
29+
ARM_CAR_WITH_BOMB car CARBOMB_TIMEDACTIVE
30+
ENDIF
31+
ENDIF
32+
ENDIF
33+
ENDIF
34+
ENDIF
35+
36+
GOTO main_loop
37+
}
38+
39+
SCRIPT_END
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Grenade to car bomb (CLEO; GTA III)
2+
3+
## ENGLISH
4+
* Author: Vital
5+
* Description: now you can use one of your grenades to turn it into a timed car bomb. Press “Fire” button while sitting in a car* and not looking left or right to arm the self-made bomb.
6+
7+
\* Exceptions: Rhino, RC Bandit, firetruck, Predator.
8+
9+
## РУССКИЙ
10+
* Автор: Vital
11+
* Описание: отныне игрок может использовать гранату в качестве автомобильной бомбы с таймером. Чтобы активировать её, нажмите кнопку «Огонь», сидя в транспорте* и не смотря по сторонам.
12+
13+
\* Исключения: танк Rhino, РУ машинка Bandit, пожарная машина, катер Predator.

0 commit comments

Comments
 (0)