RealXwar Posted June 14, 2016 Posted June 14, 2016 (edited) شباب ممكن كود لما الاعب يلمس الماركر يحصله Freez Edited June 14, 2016 by Guest
iMr.WiFi..! Posted June 14, 2016 Posted June 14, 2016 اممم اولاً سلام عليكم ثانياً استعمل في الاكواد ثالثاً الكود الصحيح local marker1 = createMarker(1554.21118,-1675.60803,15.19531,"cylinder",2,0,0,255) GUIEditor = { button = {}, window = {} } GUIEditor.window[1] = guiCreateWindow(271, 103, 518, 319, "Police Job", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.button[1] = guiCreateButton(9, 267, 143, 42, "Accept", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(369, 263, 139, 46, "Exit", false, GUIEditor.window[1]) function Police2 () guiSetVisible(GUIEditor.window[1],true) setElementFrozen(player, true) end addEventHandler("onClientMarkerHit",marker1,Police2)
Mr.R Posted June 14, 2016 Posted June 14, 2016 (edited) واي فاي كودك غلط اولاً البلاير مو معرف ثانياً ماتحققت ان الي دخل الماركر لاعب تفضل ياصاحب الموضوع , حطه من جانب كلينت local marker = createMarker ( x, y, z, "type", size, r, g, b, alpha ) addEventHandler ( "onClientMarkerHit", resourceRoot, function ( player ) if ( player == localPlayer ) then if ( source == marker ) and ( getElementType ( player ) == "player" ) then setElementFrozen ( player, true ) end end end ) x, y, z = احداثيات الماركر type = نوع الماركر size = حجم الماركر r, g, b = الوان الماركر alpha = شفافية الماركر Ex. createMarker ( 931.78, 1564.12, 16.96, "cylinder", 2, 255, 0, 255, 0 ) Edited June 14, 2016 by Guest
iMr.SFA7 Posted June 14, 2016 Posted June 14, 2016 واي فاي كودك غلطاولاً البلاير مو معرف ثانياً ماتحققت ان الي دخل الماركر لاعب تفضل ياصاحب الموضوع , حطه من جانب كلينت local marker = createMarker ( x, y, z, "type", size, r, g, b, alpha ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( player ) if ( source == marker ) and ( getElementType ( player ) ) then setElementFrozen ( player, true ) end end ) x, y, z = احداثيات الماركر type = نوع الماركر size = حجم الماركر r, g, b = الوان الماركر alpha = شفافية الماركر Ex. createMarker ( 931.78, 1564.12, 16.96, "cylinder", 2, 255, 0, 255, 0 ) عندكـ خطأ بسـيط في الحـدث والتـحقق: addEventHandler ( 'onClientMarkerHit', resourceRoot, function ( player ) if (source == marker and getElementType (player) == 'player' and player == localPlayer) then setElementFrozen (player, true) end end)
momar5600 Posted June 14, 2016 Posted June 14, 2016 ليش ماتبون تساعدوني https://forum.multitheftauto.com/viewtopic.php?f ... 40#p895840
Mr.R Posted June 14, 2016 Posted June 14, 2016 واي فاي كودك غلطاولاً البلاير مو معرف ثانياً ماتحققت ان الي دخل الماركر لاعب تفضل ياصاحب الموضوع , حطه من جانب كلينت local marker = createMarker ( x, y, z, "type", size, r, g, b, alpha ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( player ) if ( source == marker ) and ( getElementType ( player ) ) then setElementFrozen ( player, true ) end end ) x, y, z = احداثيات الماركر type = نوع الماركر size = حجم الماركر r, g, b = الوان الماركر alpha = شفافية الماركر Ex. createMarker ( 931.78, 1564.12, 16.96, "cylinder", 2, 255, 0, 255, 0 ) عندكـ خطأ بسـيط في الحـدث والتـحقق: addEventHandler ( 'onClientMarkerHit', resourceRoot, function ( player ) if (source == marker and getElementType (player) == 'player' and player == localPlayer) then setElementFrozen (player, true) end end) الكود مايبيله شي , خخخخ الحدث نسخته ونسيت اعدله , ماني فاضي اكتبه مشكور
فاّرس Posted June 15, 2016 Posted June 15, 2016 عندكـ خطأ بسـيط في الحـدث والتـحقق: addEventHandler ( 'onClientMarkerHit', resourceRoot, function ( player ) if (source == marker and getElementType (player) == 'player' and player == localPlayer) then setElementFrozen (player, true) end end) بالكلينت لوكل بلير تكفي الثانيه تحتاجها بملف سيرفر getElementType للمعلوميه مو شرط تحط
iMr.SFA7 Posted June 15, 2016 Posted June 15, 2016 عندكـ خطأ بسـيط في الحـدث والتـحقق: addEventHandler ( 'onClientMarkerHit', resourceRoot, function ( player ) if (source == marker and getElementType (player) == 'player' and player == localPlayer) then setElementFrozen (player, true) end end) بالكلينت لوكل بلير تكفي الثانيه تحتاجها بملف سيرفر getElementType للمعلوميه مو شرط تحط . ايه أدري ولاكن حطـيتها لزيـادة التحـقق من الالمـنت الـي دخـل
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