whiplk

[CODE] - MTA teste

Mar 26th, 2012
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. function carCreate(thePlayer, command, vehicleModel)
  2.     local x, y, z = getElementPosition(thePlayer)
  3.     x = x + 5
  4.     local cc = createVehicle(tonumber(vehicleModel), x, y, z)
  5.     if(cc == false) then
  6.  
  7.         outputChatBox("Failed to create vehicle", thePlayer)
  8.     end
  9. end
  10.  
  11. addCommandHandler("cc", carCreate)
Advertisement
Add Comment
Please, Sign In to add comment