GTA Mods Mania
Welcome to GTA Mods Mania
To get the most benefits of the forums .Please register otherwise you
won't be able to view some important boards & topics.
We are sure you will enjoy after joining the site.
Affiliates
pic

pic

pic

!
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

View previous topic View next topic Go down

Spikes Spawn

Post by TheSpookyMan on Tue Dec 04, 2012 8:55 pm

How do i Spawn Spikes in front of player in Gta vc..??

what is its ID is it #SPIKE?
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Spikes Spawn

Post by TheGodfather on Wed Dec 05, 2012 3:30 pm

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
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Spikes Spawn

Post by TheSpookyMan on Wed Dec 05, 2012 8:55 pm

How do i do that complicating part of deflating tires like this
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...???
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Spikes Spawn

Post by TheSpookyMan on Thu Dec 06, 2012 5:22 pm

You're wrong Arijit #STINGER is a gta vice city car name....!!!!!
(Nahi #Stinger ek vice city ki Gadi ka naam hai)
avatar
TheSpookyMan
Moderators
 Moderators

Posts : 649
Join date : 2012-12-03
Age : 24
Location : Somewhere on Earth

Back to top Go down

Re: Spikes Spawn

Post by TheGodfather on Thu Dec 06, 2012 6:46 pm

I am not a vice city modder anyways the correct ID is : 521
I guess you got the mod... Razz
avatar
TheGodfather
Administrator
Administrator

Posts : 1360
Join date : 2012-11-22
Age : 21
Location : Unknown

http://gtamodsmania.cz.cc/

Back to top Go down

Re: Spikes Spawn

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum