Jump to content

Help createVehicle


Kronos

Recommended Posts

Posted

I dont enter in the vehicle

function CrearCoche() 
jugador = localPlayer 
x,y,z = getElementPosition (jugador) 
createVehicle ( 411, x +2, y, z +2, 0, 0, 90 ) 
outputChatBox ("Tu auto se creo con exito" ) 
end 
addCommandHandler ( "inf", CrearCoche ) 

Posted
Note: Vehicles (and other elements) created client-side are only seen by the client that created them, aren't synced and players cannot enter them. They are essentially for display only.

You must "createVehicle" in server-side.

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