function tel (playerSource)
local auto = getPedOccupiedVehicle(playerSource)
if auto then
setVehicleFrozen(auto,true)
setElementPosition (auto, 384.0750,2541.4612,16.5391)
setTimer(setVehicleFrozen,50,1,auto,false)
else
setElementPosition (playerSource, 384.0750,2541.4612,16.5391)
end
outputChatBox ("Dziala", playerSource, 0, 255, 0)
end
addCommandHandler ( "test123", tel )