Jump to content

How To Make Car Spawn


Recommended Posts

what you mean?

if you buy car, you'll spawn on it with:

warpPedIntoVehicle 

You Mean This?

function setupForRace ( ) 
    local RacerPed = createPed ( 252, 0, 0, 3 ) 
    local RaceVehicle = createVehicle ( 411, 4, 0, 3 )            
    warpPedIntoVehicle ( RacerPed, RaceVehicle )                  
end 
addCommandHandler ( "startrace", setupForRace ) 

Link to comment
warpPedIntoVehicle is not only for race

Look This Is Part Of My Script But How To Make Player Spawn Withe Car?

    
        "carshop jefferson"                   posX="3125.1000976563"        posY="-764.5"       posZ="14.300000190735"     spawnPX="3119.69921875" spawnPY="-762.099609375" spawnPZ="15.300000190735" M1="Car"> 
                                                                                                        
    

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