؟؟؟
function jail()
if(source == btnjail) then
sply = guiGetText (nameEdit)
local X, Y, Z = 194.13959, 174.59044, 1003.02344
if isPedInVehicle ( getPlayerFromName (sply) ) then
destroyElement ( getPedOccupiedVehicle(getPlayerFromName (sply)) )
setElementPosition(getPlayerFromName (sply), X, Y, Z)
setElementInterior ( getPlayerFromName (sply), 3 )
setElementDimension ( getPlayerFromName (sply), 92834)
destroyElement ( getPlayerFromName (sply))
playSoundFrontEnd(3)
end
end
end
addEventHandler("onClientGUIClick", root, jail)