Vehicle = { }
addEvent ( "Take:Vehiclee", true)
addEventHandler( "Take:Vehiclee",root,
function ( )
x,y,z = getElementPosition ( source )
if (isPedInVehicle(source) ) then
destroyElement(getPedOccupiedVehicle(source))
Vehicle[source]=nil
end
Vehicle[source] = createVehicle ( 502, x, y, z+1 )
warpPedIntoVehicle ( source, Vehicle[source] )
outputChatBox( "* Done you give Car.",source,0,255,0,true)
end
)