Script Car Entity

12 replies
13 years, 7 months ago
#6816

[hr:3grwrbs6][/hr:3grwrbs6]

[align=center:3grwrbs6]Script Car Entity
[/align:3grwrbs6]

[hr:3grwrbs6][/hr:3grwrbs6]

[align=center:3grwrbs6]there are different possibility, depending on the command “StreamMapLine”

 

used and different inconvenience.
[/align:3grwrbs6]

[hr:3grwrbs6][/hr:3grwrbs6]

1 Script.

already present in FR M2

[align=center:3grwrbs6][img]/applications/core/interface/imageproxy/imageproxy.php?img=http://i46.tinypic.com/x41zkh.jpg&key=b2b67bf9aa2c293c545f1180783c64b4c34a5fa879750f72e0bdfb9c861756e6[/img][/align:3grwrbs6]

just need to activate and position, no inconvenience.

game.entitywrapper:GetEntityByName(“Hunter”):Activate()

game.entitywrapper:GetEntityByName(“Hunter”):SetPos(Math:newVector(-1314.20, 1006.21,-18.63))

game.entitywrapper:GetEntityByName(“Hunter”):SetDir(Math:newVector(-1,0,0))

game.game:GetActivePlayer():MakeCarOwnership(game.entitywrapper:GetEntityByName(“Hunter”))

game.entitywrapper:GetEntityByName(“Escaper”):Activate()

game.entitywrapper:GetEntityByName(“Escaper”):SetPos(Math:newVector(-1314.20, 1006.21,-18.63))

game.entitywrapper:GetEntityByName(“Escaper”):SetDir(Math:newVector(-1,0,0))

game.game:GetActivePlayer():MakeCarOwnership(game.entitywrapper:GetEntityByName(“Escaper”))

 

[hr:3grwrbs6][/hr:3grwrbs6]

2 Script.

For FR M2

Realized with injector in 2 step, inconvenience after activation “StreamMapLine” bodyguard Joe & Henry disappears.

 

[align=center:3grwrbs6][youtube:3grwrbs6]

[/youtube:3grwrbs6][/align:3grwrbs6] 

[align=center:3grwrbs6]Download NEW Script and without error, here :
http://www.mediafire.com/?e7ps0zfqe4yz9ek
[/align:3grwrbs6]

13 years, 7 months ago
#13419

eXistenZ34

This line

game.sds:ActivateStreamMapLine(“rtr_cardealer_load”)

is not needed

 

and you forgot to add the script

open doors for cars

game.game:GetActivePlayer():MakeCarOwnership(game.entitywrapper:GetEntityByName(car)):SetDoorFree()

13 years, 7 months ago
#13423

yes zahar999, this is true, this script was a little old and there is even others errors.

 

[img]//i46.tinypic.com/sesncw.jpg&key=0ac15807c3ec70f90712d0dc34d670af41d4ee7d130f48034d01f805a7635afe[/img]

[align=center:7bgc71qt]Edit : this is the site that is not writing what I write
[/align:7bgc71qt]

[img]//i48.tinypic.com/14avn94.jpg&key=bae0b29d5a5dd4a32cf0cf27eeadcd774836254f5cc736b26a723c827e70d07e[/img]

[hr:7bgc71qt][/hr:7bgc71qt]

the site does not take into account the hooks (in red
) because they are considered as Boardcode.

[img]//i49.tinypic.com/21lsrxy.jpg&key=bb5f122945fcf5b33fb2a2bbc8d3a6298b1ede3e6d33e29e2f8eeb289c3b5e2f[/img]

[hr:7bgc71qt][/hr:7bgc71qt]

But the command for unlock doors, is not good *
.

game.game:GetActivePlayer():MakeCarOwnership(game.entitywrapper:GetEntityByName(car)):SetDoorFree()

 

*
(I have already said you on playground.ru)

 

SetDoorFree(
xx
,
yy
)
” is used only with:

game.game:GetActivePlayer():GetOwner()
:SetDoorFree(
xx
,
yy
)
or game.entitywrapper:GetEntityByName(“Car_Name_Entity”)
:SetDoorFree(
xx
,
yy
)

xx = N̡̉door 0 or 1 or 2 or 3 , yy = true

[img]//i50.tinypic.com/2r3ec81.jpg&key=d29b94423a7691d7ff4a7358afc9f9c28bdab1aa0036db50c0e958f7816eb8ab[/img]

 

game.game:GetActivePlayer():GetOwner()
“: applies to all cars in traffic without knowing their “Car_Name_entity”, as a Vito (player) is in the car.

game.entitywrapper:GetEntityByName(“Car_Name_Entity”)
“: applies only to the “Car_Name_Entity” although Vito (player) is not in the car.

 

 

So this command should be added in the script
*
above, but written like that.

game.game:GetActivePlayer():MakeCarOwnership(game.entitywrapper:GetEntityByName(“Car_Name_Entity”))

 

*
(this avoids having to break the window to get into the car.)

13 years, 7 months ago
#13576

and another

together with many StreamMapLine for car

will loaded with enemies

for example

game.sds:ActivateStreamMapLine(“rtr_car14_load”)

game.entitywrapper:GetEntityByName(“soldier1”):Activate()

game.entitywrapper:GetEntityByName(“soldier2”):Activate()

game.entitywrapper:GetEntityByName(“soldier3”):Activate()

 

http://www.youtube.com/watch?v=nL8cXAOMuqg

13 years, 7 months ago
#13578

yes I know in “fr_cardealer”

13 years, 7 months ago
#13632

Zahar, did I see that right? Have you managed to activate the car blinkers?

13 years, 7 months ago
#13634

Zahar’ date=’ did I see that right? Have you managed to activate the car blinkers?[/quote’] 

No <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″> If you look closely, Vito is not driving the car and he is not activating the blinkers.

13 years, 7 months ago
#13636

DvT

something I do not understand the question car blinkers?

 

you can get any car

eXistenZ34 written your article

link to the script in the first message

13 years, 7 months ago
#13637

flasher, i thinks he mean Direction Flasher (left – right)

13 years, 7 months ago
#13675

as rahaar
I don’t understand “car blinkers?”

 

Keep in mind, that zahaar is Russian and me i’m French and we use a translator to understand.

 

toujours lÃÆÃ  crazy
, c’est bient̮̫t le 14. 😆 <img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/tongue@2x.png 2x” width=”20″ height=”20″><img decoding=” data-emoticon=”” srcset=”/wp-content/uploads/invision_emoticons/wink@2x.png 2x” width=”20″ height=”20″>

13 years, 7 months ago
#13676

oui, 2 jours!

13 years, 7 months ago
#13688

thx for tuto eXistenz

 

eXistenZ car blinker c’est clignotant, feu clignotant, feu de d̮̩tresse

 

Zahar car blinker ??? ??????? : ??? ???, ??? ???, ??? ????????? ??? ?????

  • You must be logged in to reply to this topic.