LOAM

مشكله بسيطه

Recommended Posts

شباب انا عامل لوحه تفتح ب ماركر وعامل 5 ماركرات اللوحه بتفتح فى اخر ماركر بس وباقى الماركرات مش بتفتح فيه

Share this post


Link to post
24 minutes ago, Abdul KariM said:

اكوادك , كيف نساعدك بدون اكواد ؟

اهو يالحبيب

-----------------------------LS
local Marker = createMarker(  1623.69788, -1508.33752, 13.59943, 'cylinder', 1, 255, 2, 0,150)

----------------
local Marker = createMarker( 2435.06909, -2055.82617, 13.54999, 'cylinder', 1, 255, 2, 0,150)

----LS-LV
local Marker = createMarker(  2331.24097, 9.89648, 26.47657, 'cylinder', 1, 255, 2, 0,150)
---------------------------LV
local Marker = createMarker( 1993.05164, 2297.70703, 10.5, 'cylinder', 1, 255, 2, 0,150)
----------------LV
local Marker = createMarker( 2097.03247, 958.80420, 10.78830 , 'cylinder', 1, 255, 2, 0,150)
-------------------------SF
local Marker = createMarker( -2081.14087, 305.51004, 35.50604 , 'cylinder', 1, 255, 2, 0,150)
-----------
local Marker = createMarker(-2161.17285, 657.36377, 52.41372, 'cylinder', 1, 255, 2, 0, 150)
-----------
local Marker = createMarker(1026.56042, 2373.76416, 10.82031,'cylinder', 1, 255, 2, 0, 150)
-----------------------------------------------------------------------------


 
 
 
 
 
   Close = guiCreateButton(693, 725, 108, 39, "", false)
        guiSetAlpha(Close, 0.00)
 guiSetVisible(Close,false)

         accept = guiCreateButton(459, 725, 108, 39, "", false)
        guiSetAlpha(accept, 0.00)

   guiSetVisible(accept,false)

        memo = guiCreateMemo(521, 579, 214, 105, "               Welcome\nin Criminal Job...\n-you can make money from Hack atm and Rob andBankRobbery\n-you can take Drugs car and you will get money \n               Enjoy", false)
        guiMemoSetReadOnly(memo, true)    
	   guiSetVisible(memo,false)
 
 

		
local screenWidth,screenHeight = guiGetScreenSize()
 function DX()
        dxDrawImage(384, 269, 484, 525, "Crrm_Logo.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawText("Criminal", 560, 297, 696, 300, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false)
        dxDrawText("Accept", 460, 728, 567, 764, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, true, false, false)
        dxDrawText("Close", 697, 728, 795, 764, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, true, false, false)
        dxDrawText("CUA...", 458, 821, 553, 852, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false)
        dxDrawText("Criminal", 553, 821, 687, 852, tocolor(237, 0, 0, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false)
        dxDrawText("Job....", 690, 821, 785, 852, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false)
    end
	
showWindow = false --نسوي showWindow ونضع عليها false

addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
  addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد

function ( )
	if (showWindow == false) then --ان كان showWindow = false
		    guiSetVisible(accept,true)
			  guiSetVisible(Close,true)
	            guiSetVisible(memo,true)
		          showCursor(true)--يظهر الماوس نسيته :)
		            addEventHandler("onClientRender",root,DX)--نظهر لوحة الدي اكس
	end --نهاية التحقق
end--نهاية الفنكشن
)--نهاية قوس الضغط على زر

 

Share this post


Link to post

من سطر 56 الى اخر سطر غلط

ومايصلح تكرر اسماء الماركرات

يعني كلهم خلهم اسم غير

وخلي كل حدث في فنشكن خاص فيه

او تقدر تسوي جدول فيه الاحداثيات

ولوب

ويسوي ماركر وحدث على الماركر

ورني محاولتك وبعدين بصحح لك الاخطاء

  • Like 1

Share this post


Link to post
Just now, LOAM said:

اهو يالحبيب


-----------------------------LS
local Marker = createMarker(  1623.69788, -1508.33752, 13.59943, 'cylinder', 1, 255, 2, 0,150)

----------------
local Marker = createMarker( 2435.06909, -2055.82617, 13.54999, 'cylinder', 1, 255, 2, 0,150)

----LS-LV
local Marker = createMarker(  2331.24097, 9.89648, 26.47657, 'cylinder', 1, 255, 2, 0,150)
---------------------------LV
local Marker = createMarker( 1993.05164, 2297.70703, 10.5, 'cylinder', 1, 255, 2, 0,150)
----------------LV
local Marker = createMarker( 2097.03247, 958.80420, 10.78830 , 'cylinder', 1, 255, 2, 0,150)
-------------------------SF
local Marker = createMarker( -2081.14087, 305.51004, 35.50604 , 'cylinder', 1, 255, 2, 0,150)
-----------
local Marker = createMarker(-2161.17285, 657.36377, 52.41372, 'cylinder', 1, 255, 2, 0, 150)
-----------
local Marker = createMarker(1026.56042, 2373.76416, 10.82031,'cylinder', 1, 255, 2, 0, 150)
-----------------------------------------------------------------------------


 
 
 
 
 
   Close = guiCreateButton(693, 725, 108, 39, "", false)
        guiSetAlpha(Close, 0.00)
 guiSetVisible(Close,false)

         accept = guiCreateButton(459, 725, 108, 39, "", false)
        guiSetAlpha(accept, 0.00)

   guiSetVisible(accept,false)

        memo = guiCreateMemo(521, 579, 214, 105, "               Welcomein Criminal Job...-you can make money from Hack atm and Rob andBankRobbery-you can take Drugs car and you will get money                Enjoy", false)
        guiMemoSetReadOnly(memo, true)    
	   guiSetVisible(memo,false)
 
 

		
local screenWidth,screenHeight = guiGetScreenSize()
 function DX()
        dxDrawImage(384, 269, 484, 525, "Crrm_Logo.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawText("Criminal", 560, 297, 696, 300, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false)
        dxDrawText("Accept", 460, 728, 567, 764, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, true, false, false)
        dxDrawText("Close", 697, 728, 795, 764, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, true, false, false)
        dxDrawText("CUA...", 458, 821, 553, 852, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false)
        dxDrawText("Criminal", 553, 821, 687, 852, tocolor(237, 0, 0, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false)
        dxDrawText("Job....", 690, 821, 785, 852, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false)
    end
	
showWindow = false --نسوي showWindow ونضع عليها false

addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
  addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد
addEventHandler("onClientMarkerHit",Marker,--عند لمس الماركر المحدد

function ( )
	if (showWindow == false) then --ان كان showWindow = false
		    guiSetVisible(accept,true)
			  guiSetVisible(Close,true)
	            guiSetVisible(memo,true)
		          showCursor(true)--يظهر الماوس نسيته :)
		            addEventHandler("onClientRender",root,DX)--نظهر لوحة الدي اكس
	end --نهاية التحقق
end--نهاية الفنكشن
)--نهاية قوس الضغط على زر

 



كل الاحداث خطأ

اذا تبي تسويها كذا سويها لكن خلي الامر بإسم

مثال

 

-----------------------------LS
local Marker = createMarker(  1623.69788, -1508.33752, 13.59943, 'cylinder', 1, 255, 2, 0,150)

----------------
local Marker1 = createMarker( 2435.06909, -2055.82617, 13.54999, 'cylinder', 1, 255, 2, 0,150)

----LS-LV
local Marker2 = createMarker(  2331.24097, 9.89648, 26.47657, 'cylinder', 1, 255, 2, 0,150)
---------------------------LV
local Marker3 = createMarker( 1993.05164, 2297.70703, 10.5, 'cylinder', 1, 255, 2, 0,150)
----------------LV
local Marker4 = createMarker( 2097.03247, 958.80420, 10.78830 , 'cylinder', 1, 255, 2, 0,150)
-------------------------SF
local Marker5 = createMarker( -2081.14087, 305.51004, 35.50604 , 'cylinder', 1, 255, 2, 0,150)
-----------
local Marker6 = createMarker(-2161.17285, 657.36377, 52.41372, 'cylinder', 1, 255, 2, 0, 150)
-----------
local Marker7 = createMarker(1026.56042, 2373.76416, 10.82031,'cylinder', 1, 255, 2, 0, 150)
-----------------------------------------------------------------------------


 
 
 
 
 
   Close = guiCreateButton(693, 725, 108, 39, "", false)
        guiSetAlpha(Close, 0.00)
 guiSetVisible(Close,false)

         accept = guiCreateButton(459, 725, 108, 39, "", false)
        guiSetAlpha(accept, 0.00)

   guiSetVisible(accept,false)

        memo = guiCreateMemo(521, 579, 214, 105, "               Welcome\nin Criminal Job...\n-you can make money from Hack atm and Rob andBankRobbery\n-you can take Drugs car and you will get money \n               Enjoy", false)
        guiMemoSetReadOnly(memo, true)    
	   guiSetVisible(memo,false)
 
 

		
local screenWidth,screenHeight = guiGetScreenSize()
 function DX()
        dxDrawImage(384, 269, 484, 525, "Crrm_Logo.png", 0, 0, 0, tocolor(255, 255, 255, 255), false)
        dxDrawText("Criminal", 560, 297, 696, 300, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "center", "center", false, false, true, false, false)
        dxDrawText("Accept", 460, 728, 567, 764, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, true, false, false)
        dxDrawText("Close", 697, 728, 795, 764, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, true, false, false)
        dxDrawText("CUA...", 458, 821, 553, 852, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false)
        dxDrawText("Criminal", 553, 821, 687, 852, tocolor(237, 0, 0, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false)
        dxDrawText("Job....", 690, 821, 785, 852, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false)
    end
	
showWindow = false

function killerProject ( )
if (showWindow == false) then
guiSetVisible(accept,true)
guiSetVisible(Close,true)
guiSetVisible(memo,true)
showCursor(true)
addEventHandler("onClientRender",root,DX)
end
end

addEventHandler("onClientMarkerHit",Marker, killerProject )
addEventHandler("onClientMarkerHit",Marker1, killerProject )
addEventHandler("onClientMarkerHit",Marker2, killerProject )
addEventHandler("onClientMarkerHit",Marker3, killerProject )
addEventHandler("onClientMarkerHit",Marker4, killerProject )
addEventHandler("onClientMarkerHit",Marker5, killerProject )
addEventHandler("onClientMarkerHit",Marker6, killerProject )
addEventHandler("onClientMarkerHit",Marker7, killerProject )



او تقدر تسويها متل ما قال لك الاخ واي فاي
اسهل وافضل واقل في الاكواد

  • Like 1

Share this post


Link to post
1 minute ago, #Soking said:

Delete

 

Just now, iMr.WiFi..! said:

^ ركز قلت او :)

ض

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.