Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function carCreate(thePlayer, command, vehicleModel)
- local x, y, z = getElementPosition(thePlayer)
- x = x + 5
- local cc = createVehicle(tonumber(vehicleModel), x, y, z)
- if(cc == false) then
- outputChatBox("Failed to create vehicle", thePlayer)
- end
- end
- addCommandHandler("cc", carCreate)
Advertisement
Add Comment
Please, Sign In to add comment