Jump to content

I've been looking for 2 scripts


skybad

Recommended Posts

Hello before starting'll wish a Happy New Year to All.

So I walk demand the following: It is a resource that helps steal cars I do not know the name and I can not find but I know the command to use is this: / hotwire if anyone knows where can I download that would indicate.

The second is a resource for the belt I have one and I can make it work, we have entered into the car and write (/ seatbelt) and we get the belt I want the script beyond that is when we got out of the car seat belt to not exit automatically come out with the same street to let the script here for you guys and see if someone can get as I wanted:

    function seatbelton ( player ) 
        local check = isPedInVehicle ( player ) 
        if ( check ) then 
            local state = ( not getElementData ( player, "seatbelt" ) ) 
            setElementData ( player, "seatbelt", state ) 
            exports.global:sendLocalMeAction ( player, "reaches for their seatbelt and ".. ( state and "buckles it." or "unbuckles." ) ) 
        else 
            outputChatBox ( "You are not in a car!", player, 255, 0, 0 ) 
        end 
    end 
    addCommandHandler ( "seatbelt", seatbelton ) 

First recall that this resource is not my doing I just modified the text and just want someone who realizes that make him quit automatically when we exit the car.

Thanks. :wink:

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