Sign in to follow this  
Montis.

Need simple help.

Recommended Posts

Hi i just created simple command and i need put player in car how can i do it?

My command:

function SukuriameMasina(thePlayer, command) 
    local x, y, z = getElementPosition(thePlayer) 
    local Masina = createVehicle ( 411, 0, 0, 0 )  
    spawnVehicle ( Masina, x+3, y+3, z ) 
    outputChatBox("Masina sukurta", thePlayer) 
end 
addCommandHandler("masina",SukuriameMasina) 

Share this post


Link to post

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.