Jump to content

[REL] Car locker


Anubhav

Recommended Posts

debug :?

BASS ERROR 2 in LoadMedia  path:C:\Arquivos de programas\MTA San Andreas 1.4\mods\deathmatch\resources\travar-carro\alarm.mp3  3d:0  loop:0 
BASS ERROR 2 in LoadMedia  path:C:\Arquivos de programas\MTA San Andreas 1.4\mods\deathmatch\resources\travar-carro\alarm.mp3  3d:0  loop:0 

Link to comment
  • 2 weeks later...
One more upload again from A-TEAM!

THANKS FOR 100+ DOWNLOADS!

Now this is a car locker!

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

Er? Exported?

https://wiki.multitheftauto.com/wiki/IsVehicleLocked

https://wiki.multitheftauto.com/wiki/SetVehicleLocked

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...