GTA Mods Mania
Welcome to https://gtamodsmania.forumotion.com
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.


Join the forum, it's quick and easy

GTA Mods Mania
Welcome to https://gtamodsmania.forumotion.com
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.
GTA Mods Mania
Would you like to react to this message? Create an account in a few clicks or log in to continue.
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

2 posters

Go down

Spikes Spawn Empty Spikes Spawn

Post by TheSpookyMan 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? Spikes Spawn 522858411 Spikes Spawn 522858411
TheSpookyMan
TheSpookyMan
Moderators
 Moderators

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

Back to top Go down

Spikes Spawn Empty Re: Spikes Spawn

Post by TheGodfather 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
TheGodfather
TheGodfather
Administrator
Administrator

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

http://gtamodsmania.cz.cc/

Back to top Go down

Spikes Spawn Empty Re: Spikes Spawn

Post by TheSpookyMan 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...???
TheSpookyMan
TheSpookyMan
Moderators
 Moderators

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

Back to top Go down

Spikes Spawn Empty Re: Spikes Spawn

Post by TheSpookyMan 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)
TheSpookyMan
TheSpookyMan
Moderators
 Moderators

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

Back to top Go down

Spikes Spawn Empty Re: Spikes Spawn

Post by TheGodfather 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
TheGodfather
TheGodfather
Administrator
Administrator

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

http://gtamodsmania.cz.cc/

Back to top Go down

Spikes Spawn Empty Re: Spikes Spawn

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top


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