LawyerMorty

Untitled

May 26th, 2014
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.38 KB | None | 0 0
  1. function tuneVehicles()
  2.     if not isPedInVehicle( source) then return end
  3.     local theVehicle = getPedOccupiedVehicle( source)
  4.     local theVModel = getElementModel( theVehicle)
  5.     if not theVehicle then return end
  6.     local name = getVehicleNameFromID( theVModel)
  7.     if name == "Infernus" then
  8.         outputChatBox( "1", source, 255, 255, 255, true)
  9.     end
  10. end
  11. addCommandHandler( "tune", tuneVehicles)
Advertisement
Add Comment
Please, Sign In to add comment