iPrestege Posted June 17, 2013 Posted June 17, 2013 Event : onClientGUIClick Function's : setElementPosition isPedInVehicle Player : getLocalPlayer
iMr.Dawix~# Posted June 18, 2013 Posted June 18, 2013 Event :onClientGUIClick Function's : setElementPosition isPedInVehicle Player : getLocalPlayer اظن لازم له ترايقر عشان ينتقل عند الكل setElementPosition لأني جربت اشوف نفسي انتقلت بس خويي يشوفني بمكاني
MSHOOSH Posted June 18, 2013 Posted June 18, 2013 Event :onClientGUIClick Function's : setElementPosition isPedInVehicle Player : getLocalPlayer اظن لازم له ترايقر عشان ينتقل عند الكل setElementPosition لأني جربت اشوف نفسي انتقلت بس خويي يشوفني بمكاني addEventHandler("onClientGUIClick", GUIEditor.button[4], function ( ) local vehicle = getPedOccupiedVehicle ( localPlayer ) if vehicle then setElementPosition ( vehicle,1363.7724609375, -1264.3046875, 13.546875 ) guiSetVisible ( GUIEditor.window[1],false ) showCursor ( false ) else setElementPosition ( localPlayer,1363.7724609375, -1264.3046875, 13.546875 ) guiSetVisible ( GUIEditor.window[1],false ) showCursor ( false ) end end,false ) مجربه و شغال زي الحلاوة صاحبي يشوفني و انا اشوفه
iPrestege Posted June 18, 2013 Author Posted June 18, 2013 اذا كان بـ Interior 0 مآبة مشكلة يعني بالعالم العادي ( =
iPrestege Posted June 18, 2013 Author Posted June 18, 2013 addEventHandler('onClientGUIClick',Button, function ( ) if isPedInVehicle ( localPlayer ) then return false end setElementPosition ( localPlayer,x,y,z ) end ,false ) اذا بـ سيارهـ ماينقلة ..
][sojn][ Posted June 18, 2013 Posted June 18, 2013 addEventHandler("onClientGUIClick", root, function () if source == GUIEditor.button[1] then setElementPosition(localPlayer,1779.612,824.2493,10.664346) elseif source == GUIEditor.button[2] then setElementPosition(localPlayer,2075.0258,860.060,6.734) elseif source == GUIEditor.button[3] then setElementPosition(localPlayer,434.2817,2510.0205,16.484) elseif source == GUIEditor.button[4] then setElementPosition(localPlayer,814.3580,-1390.1628,13.622348) elseif source == GUIEditor.button[5] then setElementPosition(localPlayer,-2740.532,-2380.929,17.3249) elseif source == GUIEditor.button[6] then setElementPosition(localPlayer,2913.3815197969,2323.1267089844,10.820125) end end) لو تبي زر واحد بس addEventHandler("onClientGUIClick", root, function () if source == GUIEditor.button[1] then setElementPosition(localPlayer,1779.612,824.2493,10.664346) 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