Jump to content

Spawnpoints


Vinex

Recommended Posts

i got 2 questions.

when you die you spawn at this random location. I want to spawn where i die, how ?

When you spawn a car, it comes on the side of you.. when i spawn a car i want to spawn inside the car, how?

Ty for the help :)

Link to comment
    function vinex( player, commandName ) 
        sX, sY, sZ = getElementPosition ( player ) 
            blade = createVehicle ( 536, sX, sY, sZ ) 
                warpPedIntoVehicle ( player, blade ) 
    end 
addCommandHandler (  "spawnblade", vinex ) 

this will get your location and spawn "blade " vehicle and warp you into it when you type on chat or f8 spawnblade

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