تفضل اختصر لك كل شيء
-- # Created By #xiProGamer
-- # Server Side
local Teleporting = {
-- ["Place Name"] = {x,y,z,text} --
["الدائري"] = {1797.08972,842.63434,10.63281,"تـم الانتقال الى الدائري"},
["النخيل"] = {2033.66589,872.24658,7.07724,"تم الانتقال الى النخيل"},
}
addEventHandler("onPlayerChat",root,
function ( Message )
if ( Teleporting [ Message ] ) then
setElementPosition ( source , Teleporting[Message][1] , Teleporting[Message][2] , Teleporting[Message][3] )
outputChatBox(Teleporting[Message][4],source,255,255,0,true)
end
end
)