Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!   (85,362 visits to this link)

    2. News

    1. GTA Online

      1. Find Lobbies & Players
      2. Guides & Strategies
      3. Vehicles
      4. Content Creator
      5. Help & Support
    2. Crews

      1. Events
      2. Recruitment
    1. Grand Theft Auto Series

    2. GTA Next

    3. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    4. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    5. GTA Chinatown Wars

    6. GTA Vice City Stories

    7. GTA Liberty City Stories

    8. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    9. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    12. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    3. Featured Mods

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption 2

    2. Red Dead Redemption

    3. Rockstar Games

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Programming
      5. Movies & TV
      6. Music
      7. Sports
      8. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Forum Support

    2. Site Suggestions

azam8

[REL][IV]CAR DOOR UN/LOCKER

Recommended Posts

azam8

Here is my first script:

 

Use END Key to lock unlock doors

 

enjoy and please comment biggrin.gif

 

Use with HazardX scripthook

http://www.gtaforums.com/index.php?showtopic=392325

 

DOWNLOAD

 

http://www.gtagarage.com/mods/show.php?id=5792

http://www.mediafire.com/?sharekey=a97d64b...04e75f6e8ebb871

 

Install: put in script folder in your directory

 

user posted image

user posted image

user posted image

user posted image

Edited by azam8

Share this post


Link to post
Share on other sites
System796

That's great, I like it.

Share this post


Link to post
Share on other sites
Andrew

Please upload the file to a more permantent hosting service. Not a free 30 day hoster. Something like GTAGarage or another gta site.

Share this post


Link to post
Share on other sites
KorbiM

will the car blink if you lock it?

Share this post


Link to post
Share on other sites
azam8

@System796 thank you

 

@Gangsta killa thanks done now just wait on approval

 

@KorbiM no.. there is screen display to tell you the status of the doors

Share this post


Link to post
Share on other sites
the_gas

Thanks, cool idea. Ill try it out and report back if there are any problems (unlikely).

 

If you could get the lights to flicker, that would be cool.

Share this post


Link to post
Share on other sites
Little Psycho

Cool icon14.gificon14.gif

I'm realy suprised someone made it after such long time nervous.gif

Share this post


Link to post
Share on other sites
lilmcnessy

Do you use it inside or outside of the car and what happens if your window is smashed?

 

EDIT: Nvm I tested it

Could you change the key because end is for ragdoll mod and i found a glitch:

You can lock motorbikes

Edited by lilmcnessy

Share this post


Link to post
Share on other sites
azam8
Do you use it inside or outside of the car and what happens if your window is smashed?

 

EDIT: Nvm I tested it

Could you change the key because end is for ragdoll mod and i found a glitch:

You can lock motorbikes

Open in notepad and change key to whateva you like highlighted in red

 

BindKey( Keys.End, new KeyPressDelegate( ToggleDoorLock ) );

 

EXAMPLE:

 

BindKey( Keys.F5, new KeyPressDelegate( ToggleDoorLock ) );

 

biggrin.gif Yeah with the bikes just choose not to lock it if you want realism biggrin.gif

 

Thanks for the comments guys blush.gif

Share this post


Link to post
Share on other sites
lilmcnessy
Do you use it inside or outside of the car and what happens if your window is smashed?

 

EDIT: Nvm I tested it

Could you change the key because end is for ragdoll mod and i found a glitch:

You can lock motorbikes

Open in notepad and change key to whateva you like highlighted in red

 

BindKey( Keys.End, new KeyPressDelegate( ToggleDoorLock ) );

 

EXAMPLE:

 

BindKey( Keys.F5, new KeyPressDelegate( ToggleDoorLock ) );

 

biggrin.gif Yeah with the bikes just choose not to lock it if you want realism biggrin.gif

 

Thanks for the comments guys blush.gif

thanks

Share this post


Link to post
Share on other sites
Dvt-MedShot

Where are the textures of the bus waiting box? I want to change it also. tounge.gif

 

But nice mod! Unfortenately this feature is already in the Ingame trainer, but it could be useful if you have it apart. wink.gif

And a question: Is the car still locked for Niko also if you don't unlock it before getting out of the car? That's with the Ingame trainer so.

Share this post


Link to post
Share on other sites
lilmcnessy

Could you make it that you can't unlock cars that you have never entered before?

Share this post


Link to post
Share on other sites
azam8
Where are the textures of the bus waiting box? I want to change it also. tounge.gif

 

But nice mod! Unfortenately this feature is already in the Ingame trainer, but it could be useful if you have it apart. wink.gif

And a question: Is the car still locked for Niko also if you don't unlock it before getting out of the car? That's with the Ingame trainer so.

look here: pc/data/maps/props/roadside/sign.img/ec_busstops.wtd biggrin.gif

i have changed so many textures took me awhile to find smile.gif

 

This script is easy to use as the hotkey is one key only.

 

Yes. you cant enter if you have locked from both sides but if you toggle END key while trying to enter car it should unlock

Share this post


Link to post
Share on other sites
azam8
Could you make it that you can't unlock cars that you have never entered before?

nah to lazy.this is something i did for myself and never intended to release it.

so what you see is what you get sorry.

Your welcome to change the script in any way so long as you mention me biggrin.gif

 

 

 

Share this post


Link to post
Share on other sites
Andrew
@System796 thank you

 

@Gangsta killa thanks done now just wait on approval

 

@KorbiM no.. there is screen display to tell you the status of the doors

Excellent cheers. Thats a pretty cool mod, always useful to lock your car doors. Especially with the way I drive. I'm always getting jacked out of my car due to angry peds!

Share this post


Link to post
Share on other sites
KorbiM

doesnt work in my case..

if i press end the car blink, but isnt lock, if i press again it doesnt blink

Edited by KorbiM

Share this post


Link to post
Share on other sites
azam8
doesnt work in my case..

if i press end the car blink, but isnt lock, if i press again it doesnt blink

Try to download again and make sure you have the l8est scripthook by hazardx and patched game v1.02.

Or change Key from END to something else it might be conflicting with another mod look above ^^^^^^

Share this post


Link to post
Share on other sites
geokes

Fun mod, would love it if peds couldn't get out of the car (eg. when you steal a taxi the passanger can get out even if the doors are locked)

Share this post


Link to post
Share on other sites
azam8
Fun mod, would love it if peds couldn't get out of the car (eg. when you steal a taxi the passanger can get out even if the doors are locked)

I agree. I will look into that issue, it would be nice to kidnap some peds biggrin.gif

Share this post


Link to post
Share on other sites
KorbiM
doesnt work in my case..

if i press end the car blink, but isnt lock, if i press again it doesnt blink

Try to download again and make sure you have the l8est scripthook by hazardx and patched game v1.02.

Or change Key from END to something else it might be conflicting with another mod look above ^^^^^^

still doesnt work

if i chosse an other key thee is nothing if i press him...

Share this post


Link to post
Share on other sites
azam8
doesnt work in my case..

if i press end the car blink, but isnt lock, if i press again it doesnt blink

Try to download again and make sure you have the l8est scripthook by hazardx and patched game v1.02.

Or change Key from END to something else it might be conflicting with another mod look above ^^^^^^

still doesnt work

if i chosse an other key thee is nothing if i press him...

Have you installed net framework 3.5

 

http://.Net Framework 3.5 DOWNLOAD

 

What does it say in the console ~

 

*Use hazardx scripthook .86

*put the file in scripts folder in your directory

*have you patched your game to 1.02

*what version US EUR AU????

Other than that i have no idea sorry m8 try using xliveless?????

Maybe some1 else can shed some light on the subject notify.gif

Share this post


Link to post
Share on other sites
lilmcnessy

You might've updated to 1.0.3

Share this post


Link to post
Share on other sites
UncleCrank

Can you add a function that allows you to lock your vehicle from outside?

Share this post


Link to post
Share on other sites
lilmcnessy
Can you add a function that allows you to lock your vehicle from outside?

You can when are holding the handle

Share this post


Link to post
Share on other sites
TheRealPcGamer
Can you add a function that allows you to lock your vehicle from outside?

Yes you can, just remember when you out from your car press the lock button until "Locked Both Sides"

Then your car will be locked.

 

O yeah, I think this is a bug, when I want to open a locked car (locked by us) Niko doesn't want to break the glass, he just like give up smile.gif

Share this post


Link to post
Share on other sites
KorbiM

 

What does it say in the console ~

 

*Use hazardx scripthook .86

*put the file in scripts folder in your directory

*have you patched your game to 1.02

*what version US EUR AU????

Other than that i have no idea sorry m8 try using xliveless?????

Maybe some1 else can shed some light on the subject  notify.gif

 

scripthook: yes

put the file in scripts folder in your directory: yes

have you patched your game to 1.02: yes

what version US EUR Au: im german so i think itz the EUR version

 

What does it say in the console ~

the console say nothing about the cardoors.net.txt

 

if i named it to car[...].NET.DLL it says, that it faild to load script, cuz wrong file format.

Share this post


Link to post
Share on other sites
azam8
What does it say in the console ~

 

*Use hazardx scripthook .86

*put the file in scripts folder in your directory

*have you patched your game to 1.02

*what version US EUR AU????

Other than that i have no idea sorry m8 try using xliveless?????

Maybe some1 else can shed some light on the subject  notify.gif

 

scripthook: yes

put the file in scripts folder in your directory: yes

have you patched your game to 1.02: yes

what version US EUR Au: im german so i think itz the EUR version

 

What does it say in the console ~

the console say nothing about the cardoors.net.txt

 

if i named it to car[...].NET.DLL it says, that it faild to load script, cuz wrong file format.

found your problem just rename it to this cardoorscript.cs

Share this post


Link to post
Share on other sites
KorbiM
What does it say in the console ~

 

*Use hazardx scripthook .86

*put the file in scripts folder in your directory

*have you patched your game to 1.02

*what version US EUR AU????

Other than that i have no idea sorry m8 try using xliveless?????

Maybe some1 else can shed some light on the subject  notify.gif

 

scripthook: yes

put the file in scripts folder in your directory: yes

have you patched your game to 1.02: yes

what version US EUR Au: im german so i think itz the EUR version

 

What does it say in the console ~

the console say nothing about the cardoors.net.txt

 

if i named it to car[...].NET.DLL it says, that it faild to load script, cuz wrong file format.

found your problem just rename it to this cardoorscript.cs

thank you very much! colgate.gifsmile.gifbiggrin.gifturn.gifsigh.giflol.gif

Share this post


Link to post
Share on other sites
M_Nation

Could you update this to work with 1.0.3.0? please and thanks you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.