Jump to content

[REL] Car locker


Anubhav

Recommended Posts

https://community.multitheftauto.com/ind ... s&id=10194

One more upload again from A-TEAM!

THANKS FOR 100+ DOWNLOADS!

Now this is a car locker!

-- VERSIONS --

v 0.0.1 ( old )

[*] You enter a car if you locked it and unlock it!

[*] You can unlock a car!

[*] You can lock a car!

v 0.0.2 ( old )

[*] Bug fixed!

v 0.0.3 ( old )

[*] One more bug fixed!

v 0.0.4 ( old )

[*] K added as bind key

v 1.0.0 ( old )

[*] Bug fix

v 1.5.0 ( old )

[*] Bug fix

v 2.0.0 ( old )

[*] On vehicle explode the lock will be removed.

v 3.0.0 ( old )

[*] Added sounds!

v 3.5.0 ( old )

[*] Made it so when you enter the car the alarm rings and when original owner enters it gets closed.

v 4.0.0 ( old )

[*] Added export functions!

-> isVehicleLocked

-> setVehicleLocked

v 4.5.0 ( old )

[*] Added dx draws instead of output

-> Unlock

-> lock

-> Fades

[*] Fixed typo's

-> Exported function name in meta.xml

-> in script getElementTypr was typed

[*] Now sound added for unlocking!

v 4.5.1 ( release )

[*] Fixed sound bug

-> Sound locations were bugged.

--

Exported functions:

bool isVehicleLocked( element vehicle ) 

what does this do: Checks if a vehicle is locked

returned value: if yes returns true else returns false ( it also returns false if there were invalid arguements! Be carefull!)

vehicle: A element which is vehicle

bool setVehicleLocked( element vehicle, bool state, element player) 

what does this do: Sets a vehicle to its locked state!

vehicle: A element which is vehicle

state: Can be true or false ( true for locking, false for no locking )

player: A element who will lock the vehicle and have keys!

returns: True if it was successfully done else false

Edited by Guest
Link to comment

Maybe you should do some testing before releasing so you don't have to throw a million versions

within a few hours after release.

3.5.0   2014-10-04 22:41:04 
3.0.0   2014-10-04 03:50:37 
2.0.0   2014-10-04 03:03:04  
1.5.0   2014-10-04 02:36:07  
1.0.0   2014-10-04 02:17:48  
0.0.4   2014-10-04 02:10:58  
0.0.3   2014-10-04 02:05:41  
0.0.2   2014-10-04 01:59:05  
0.0.1   2014-10-04 01:40:49 

Link to comment
One more upload again from A-TEAM!

THANKS FOR 100+ DOWNLOADS!

Now this is a car locker!

-- VERSIONS --

v 0.0.1 ( old )

[*] You enter a car if you locked it and unlock it!

[*] You can unlock a car!

[*] You can lock a car!

v 0.0.2 ( old )

[*] Bug fixed!

v 0.0.3 ( old )

[*] One more bug fixed!

v 0.0.4 ( old )

[*] K added as bind key

v 1.0.0 ( old )

[*] Bug fix

v 1.5.0 ( old )

[*] Bug fix

v 2.0.0 ( old )

[*] On vehicle explode the lock will be removed.

v 3.0.0 ( old )

[*] Added sounds!

v 3.5.0 ( old )

[*] Made it so when you enter the car the alarm rings and when original owner enters it gets closed.

v 4.0.0 ( release )

[*] Added export functions!

-> isVehicleLocked

-> setVehicleLocked

--

Exported functions:

bool isVehicleLocked( element vehicle ) 

what does this do: Checks if a vehicle is locked

returned value: if yes returns true else returns false ( it also returns false if there were invalid arguements! Be carefull!)

vehicle: A element which is vehicle

bool setVehicleLocked( element vehicle, bool state, element player) 

what does this do: Sets a vehicle to its locked state!

vehicle: A element which is vehicle

state: Can be true or false ( true for locking, false for no locking )

player: A element who will lock the vehicle and have keys!

returns: True if it was successfully done else false

where is the link for me low? :?:?:?:?:?:?:?:?:?

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...