Ahmed Ly Posted May 19, 2016 Share Posted May 19, 2016 كلنت function WarpPlayerToserver () if source == Warp then local text2 = guiGetText(GUIEditor.edit[1]) local text1 = guiGetText(GUIEditor.edit[2]) if text2 ~= "" and text1~= "" then local Get = guiGridListGetItemText (GUIEditor.gridlist[1], guiGridListGetSelectedItem (GUIEditor.gridlist[1]), 1) local PlayerName = getPlayerFromName(Get) triggerServerEvent("WarpEvent",localPlayer,text2,text1) else outputChatBox("----------",0,255,0) end end end addEventHandler("onClientGUIClick",root,WarpPlayerToserver) ----------------- سيرفر addEvent("WarpEvent",true) addEventHandler("WarpEvent",root, function (PlayerName,text1,text2) redirectPlayer(PlayerName,text2,text1) end ) Link to comment
Abdul KariM Posted May 19, 2016 Share Posted May 19, 2016 بدل ترايقر بذا triggerServerEvent("WarpEvent",localPlayer,PlayerName,text2,text1) Link to comment
Ahmed Ly Posted May 19, 2016 Author Share Posted May 19, 2016 بدل ترايقر بذا triggerServerEvent("WarpEvent",localPlayer,PlayerName,text2,text1) مشكووووور Link to comment
Abdul KariM Posted May 19, 2016 Share Posted May 19, 2016 العفو , حياك الله , هذي الناس الي تعرف الجميل Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now