Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function setPlate(player, cmd, plate, carModel)
- local x, y, z = getElementPosition(player)
- local carModel = getVehicleModelFromName(carModel)
- local vehicle = createVehicle(carModel, x, y, z, 0, 0, 0, plate)
- warpPedIntoVehicle(player, vehicle)
- end
- addCommandHandler("plate", setPlate)
Add Comment
Please, Sign In to add comment