Doffy Posted February 9, 2017 Posted February 9, 2017 (edited) ابي اول ما الواحد يختار رو في جريد ليست ويضغط زر ترسبنله طيارة في مكان جنبه انا اختاره ويكون جوا الطيارة Edited February 9, 2017 by KinG_Himoo12
Vunili Posted February 9, 2017 Posted February 9, 2017 (edited) table = {} createVehicle guiGridListAddRow guiGridListSetItemText guiGridListGetSelectedItem addEventHandler("onClientGUIClick", setElementPosition warpPedIntoVehicle Edited February 9, 2017 by ~#[N]exT
Doffy Posted February 9, 2017 Author Posted February 9, 2017 39 minutes ago, KinG_Himoo12 said: ابي اول ما الواحد يختار رو في جريد ليست ويضغط زر ترسبنله طيارة في مكان جنبه انا اختاره اوك يخوي خلك معي
Doffy Posted February 9, 2017 Author Posted February 9, 2017 1 minute ago, ~#[N]exT said: لاتنسى تسوي لوب اوك ---Client addEventHandler("onClientGUIClick",root, function () local sel11111 = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if ( source == GUIEditor.button[1] ) then if sel11111 == 0 then triggerServerEvent("rai",localPlayer, localPlayer) elseif sel11111 == 1 then triggerServerEvent("sha",localPlayer, localPlayer) end end end ) ---Server Raindance = {}, addEvent ( "rai", true ) addEventHandler ( "rai", root, function ( ) local x, y, z = getElementPosition ( source ) local _,_,r = getPedRotation ( source ) else if getPlayerMoney(source) > 500 then takePlayerMoney(source,500) Raindance[source] = createVehicle ( 563, 124.75805,1989.57214,19.49587,r) warpPedIntoVehicle ( source,Raindance[source] ) outputChatBox("#FF0000*#FF00FFDone Successfully to Purche Raindance",source,255,255,255,true) end end ) هذي محاولتي يخوي 14 minutes ago, KinG_Himoo12 said: اوك ---Client addEventHandler("onClientGUIClick",root, function () local sel11111 = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if ( source == GUIEditor.button[1] ) then if sel11111 == 0 then triggerServerEvent("rai",localPlayer, localPlayer) elseif sel11111 == 1 then triggerServerEvent("sha",localPlayer, localPlayer) end end end ) ---Server Raindance = {}, addEvent ( "rai", true ) addEventHandler ( "rai", root, function ( ) local x, y, z = getElementPosition ( source ) local _,_,r = getPedRotation ( source ) else if getPlayerMoney(source) > 500 then takePlayerMoney(source,500) Raindance[source] = createVehicle ( 563, 124.75805,1989.57214,19.49587,r) warpPedIntoVehicle ( source,Raindance[source] ) outputChatBox("#FF0000*#FF00FFDone Successfully to Purche Raindance",source,255,255,255,true) end end ) هذي محاولتي يخوي خلاص يخوي حليت المشكلة شكرا والله
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