!
Welcome to GTA Mods Mania
Join us now to access all of our features. Once you join us, you can make any topic to talk in this forum, give the reputation of a fellow member, design your profile, and much more. If you already have an account, Login here. If don't create one, here.
Spikes Spawn
2 posters
Page 1 of 1
Spikes Spawn
How do i Spawn Spikes in front of player in Gta vc..??
what is its ID is it #SPIKE?
what is its ID is it #SPIKE?
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Re: Spikes Spawn
I guess I told you about it in FB ??Didn't I ??
Anyways..Try this:
0. Make a Script with any Key Trigger example> backspace
1. Get the Coords of Player Position
2. Load the Spike Model
3. Create the Object of Spike IDE
then comes the hard part The spikes won't pop the tires even if you just spawn them as objects..You need to check whether the cars tyres are deflated or not..also you need to use some deflate opcodes just search for deflate opcodes in opcode search tool...
The id of spike is #STINGER
Anyways..Try this:
0. Make a Script with any Key Trigger example> backspace
1. Get the Coords of Player Position
2. Load the Spike Model
3. Create the Object of Spike IDE
then comes the hard part The spikes won't pop the tires even if you just spawn them as objects..You need to check whether the cars tyres are deflated or not..also you need to use some deflate opcodes just search for deflate opcodes in opcode search tool...
The id of spike is #STINGER
Re: Spikes Spawn
How do i do that complicating part of deflating tires like this
if not then How...???
- Code:
{$CLEO}
//-----------MAIN-----------
0000:
:SPIKE
wait 0 ms
if and
0256: player $PLAYER_CHAR defined
00E1: key_pressed 0 19
jf @SPIKE
04C4: create_coordinate 2@ 3@ 4@ from_actor $PLAYER_ACTOR offset 0.0 1.2 0.0
0107: 1@ = create_object 521 at 2@ 3@ 4@
jump @SPIKE_1
:SPIKE_1
wait 0 ms
if
05F0: 5@ = random_vehicle_near_point 2@ 3@ 4@ in_radius 1.0 find_next 0 pass_wrecked 1 //IF and SET
jf @SPIKE_1
0496: vehicle 5@ tire 4 deflated
05F0: 5@ = random_vehicle_near_point 2@ 3@ 4@ in_radius 1.0 find_next 1 pass_wrecked 1 //IF and SET
jump @SPIKE
if not then How...???
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Re: Spikes Spawn
You're wrong Arijit #STINGER is a gta vice city car name....!!!!!
(Nahi #Stinger ek vice city ki Gadi ka naam hai)
(Nahi #Stinger ek vice city ki Gadi ka naam hai)
TheSpookyMan- Moderators
- Posts : 649
Join date : 2012-12-03
Age : 30
Location : Somewhere on Earth
Re: Spikes Spawn
I am not a vice city modder anyways the correct ID is : 521
I guess you got the mod...
I guess you got the mod...
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Tue Nov 04, 2014 12:37 am by Mora Hannover
» Goodbye guys
Sun Jun 15, 2014 3:45 pm by Inspiron
» REQUEST MOD THREAD
Wed Jan 29, 2014 12:16 pm by TheSpookyMan
» Grand Theft Auto V 1.09 Patch Notes
Sat Jan 18, 2014 9:49 pm by TheGodfather
» MODDING GARAGE
Tue Jan 14, 2014 2:08 pm by TheGodfather