Abo-Al3ZaB Posted April 30, 2016 Posted April 30, 2016 السلام عليكم ,,, ممكن حد يشوفلي ايش الخطأ بهالكود ؟ function showGUIbtt(hitPlayer) if getElementType(hitPlayer) == "player" and (hitPlayer == localPlayer) then if ( getTeamName( getPlayerTeam( localPlayer ) ) == "Criminals" ) then guiSetVisible(SheepWindow, true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end addEventHandler("onClientMarkerHit", Taxi1, showGUIbtt) جربته بروح عالماركر اللوحة تظهر ما في فايدة ,,, بإنتظار المساعدة : )
Me[Z]oO Posted April 30, 2016 Posted April 30, 2016 addEventHandler("onClientMarkerHit", Taxi1, function (hitPlayer) if (hitPlayer == localPlayer) then if ( getTeamName( getPlayerTeam( localPlayer ) ) == "Criminals" ) then guiSetVisible(SheepWindow, true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end) Skype :- mezo.prince1 FaceBook :- https://www.facebook.com/medolua YouTube :- http://www.youtube.com/c/MeZoOPriNse
Abo-Al3ZaB Posted April 30, 2016 Author Posted April 30, 2016 addEventHandler("onClientMarkerHit", Taxi1, function (hitPlayer) if (hitPlayer == localPlayer) then if ( getTeamName( getPlayerTeam( localPlayer ) ) == "Criminals" ) then guiSetVisible(SheepWindow, true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end) نفس الشي اللوحة تظهر
Adham Posted May 1, 2016 Posted May 1, 2016 جربب ذا addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then if ( getTeamName( getPlayerTeam( localPlayer ) ) == "Criminals" ) then guiSetVisible (GUIEditor.window[1], true ) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end ) + انا مدري وش تبي تسوي بالظبت قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Abo-Al3ZaB Posted May 1, 2016 Author Posted May 1, 2016 Taxi1 = ؟ وين االماركه موجود الماركر Taxi1 = createMarker(2351.49829,-646.99908,127.05469,"cylinder",1.5,255,255,0,255)
Abo-Al3ZaB Posted May 1, 2016 Author Posted May 1, 2016 جربب ذا addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer ) then if ( getTeamName( getPlayerTeam( localPlayer ) ) == "Criminals" ) then guiSetVisible (GUIEditor.window[1], true ) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end ) + انا مدري وش تبي تسوي بالظبت ما زبط ,, بدي اللوحة اللي بالماركر ما تفتح غير لتيم الكريمينال
Ahmed Ly Posted May 1, 2016 Posted May 1, 2016 Taxi1 = createMarker(2351.49829,-646.99908,127.05469,"cylinder",1.5,255,255,0,255) addEventHandler('onClientMarkerHit', Taxi1, function ( hitPlayer ) if hitPlayer == localPlayer and getPlayerTeam( hitPlayer ) and getTeamName( getPlayerTeam( hitPlayer ) == "Criminals" then guiSetVisible(SheepWindow, true) showCursor( true ) playSoundFrontEnd(10) else outputChatBox("",hitPlayer,0,255,0,true) end end )
Adham Posted May 1, 2016 Posted May 1, 2016 (edited) addEventHandler('onClientMarkerHit', Taxi1, function ( hitPlayer ) if ( hitPlayer == localPlayer ) and getPlayerTeam( localPlayer ) ) == "Criminals" ) then guiSetVisible (GUIEditor.window[1], true ) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end ) Taxi1 = createMarker(2351.49829,-646.99908,127.05469,"cylinder",1.5,255,255,0,255) جرب ذا لاني ما عرفت انك تبي يفتح للفي تيم فقط. Edited May 1, 2016 by Guest قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
#|_oskar_|# Posted May 1, 2016 Posted May 1, 2016 function showGUIbtt(hitPlayer) if hitPlayer == localPlayer then if getPlayerTeam (localPlayer ) and getPlayerTeam (localPlayer) == getTeamFromName ("Criminals") then guiSetVisible(SheepWindow, true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end addEventHandler("onClientMarkerHit", Taxi1, showGUIbtt) لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Ahmed Ly Posted May 1, 2016 Posted May 1, 2016 addEventHandler('onClientMarkerHit', Marker, function ( hitPlayer ) if ( hitPlayer == localPlayer ) and getPlayerTeam( localPlayer ) ) == "Criminals" ) then guiSetVisible (GUIEditor.window[1], true ) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end ) Taxi1 = createMarker(2351.49829,-646.99908,127.05469,"cylinder",1.5,255,255,0,255) جرب ذا لاني ما عرفت انك تبي يفتح للفي تيم فقط. بدل Marker بـــ Taxi1
Adham Posted May 1, 2016 Posted May 1, 2016 عدلتة فوق قد تكونآمنيآتنآ حزينه !وآحلآمُنآ ملت طآبور آلإنتِظآر لكنهآ ،تتشبث بآلأمل فنفوسُنآ خُلقت لتقول غداً آجمل
Me[Z]oO Posted May 1, 2016 Posted May 1, 2016 addEventHandler("onClientMarkerHit", Taxi1, function (hitPlayer) if (hitPlayer == localPlayer) and if getPlayerTeam (localPlayer ) and getPlayerTeam (localPlayer) == getTeamFromName ("Criminals") then guiSetVisible(SheepWindow, true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end) Skype :- mezo.prince1 FaceBook :- https://www.facebook.com/medolua YouTube :- http://www.youtube.com/c/MeZoOPriNse
Me[Z]oO Posted May 1, 2016 Posted May 1, 2016 اطرح ملف الميتا Skype :- mezo.prince1 FaceBook :- https://www.facebook.com/medolua YouTube :- http://www.youtube.com/c/MeZoOPriNse
Me[Z]oO Posted May 1, 2016 Posted May 1, 2016 الكود الي عطيتك ياه ملف كلنت Skype :- mezo.prince1 FaceBook :- https://www.facebook.com/medolua YouTube :- http://www.youtube.com/c/MeZoOPriNse
#|_oskar_|# Posted May 1, 2016 Posted May 1, 2016 الكود شغال ومافي شئ وجرب بنفسك Taxi1 = createMarker(-715,957,12,"cylinder",2,0,255,0,255) GUIEditor = { button = {}, window = {}} local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 336) / 2, (screenH - 271) / 2, 336, 271, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1],false) GUIEditor.button[1] = guiCreateButton(9, 91, 317, 71, "Close", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",GUIEditor.button[1],function () guiSetVisible(GUIEditor.window[1],false) showCursor(false) end, false) ------ function showGUIbtt(hitPlayer) if hitPlayer == localPlayer then if getPlayerTeam (localPlayer ) and getPlayerTeam (localPlayer) == getTeamFromName ("Criminals") then guiSetVisible(GUIEditor.window[1], true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end addEventHandler("onClientMarkerHit", Taxi1, showGUIbtt) لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Abo-Al3ZaB Posted May 1, 2016 Author Posted May 1, 2016 الكود شغال ومافي شئ وجرب بنفسك Taxi1 = createMarker(-715,957,12,"cylinder",2,0,255,0,255) GUIEditor = { button = {}, window = {}} local screenW, screenH = guiGetScreenSize() GUIEditor.window[1] = guiCreateWindow((screenW - 336) / 2, (screenH - 271) / 2, 336, 271, "", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetVisible(GUIEditor.window[1],false) GUIEditor.button[1] = guiCreateButton(9, 91, 317, 71, "Close", false, GUIEditor.window[1]) addEventHandler("onClientGUIClick",GUIEditor.button[1],function () guiSetVisible(GUIEditor.window[1],false) showCursor(false) end, false) ------ function showGUIbtt(hitPlayer) if hitPlayer == localPlayer then if getPlayerTeam (localPlayer ) and getPlayerTeam (localPlayer) == getTeamFromName ("Criminals") then guiSetVisible(GUIEditor.window[1], true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end addEventHandler("onClientMarkerHit", Taxi1, showGUIbtt) جربت مانه شغال
#|_oskar_|# Posted May 1, 2016 Posted May 1, 2016 يااخي الكود شغال ومجرب كمان لو انت معك تيم ب اسم Criminals تفتح لك اللوحه ولو مامعك ماتفتح مدرى وش مشكلتك لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Abo-Al3ZaB Posted May 1, 2016 Author Posted May 1, 2016 يااخي الكود شغال ومجرب كمانلو انت معك تيم ب اسم Criminals تفتح لك اللوحه ولو مامعك ماتفتح مدرى وش مشكلتك يا اخي شوف هي الماركر + اللوحة Taxi1 = createMarker(2351.49829,-646.99908,127.05469,"cylinder",1.5,255,255,0,255) GUIEditor = { gridlist = {}, window = {}, button = {}, label = {} } local Skins = {{"159",'Shepherd|1|'}} local x = x - 9 local y = y - 71 local screenW, screenH = guiGetScreenSize() SheepWindow = guiCreateWindow(247, 74, 312, 456, ".:[Gta-Wd]|[sheep Job]:.", false) guiWindowSetSizable(SheepWindow, false) guiSetVisible(SheepWindow,false) GUIEditor.button[1] = guiCreateButton(9, 398, 94, 41, "Take Job", false, SheepWindow) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF00FF00") GUIEditor.button[2] = guiCreateButton(214, 398, 88, 41, "Close", false, SheepWindow) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") LabelNoteFBI = guiCreateLabel(9, 74, 318, 82, " Choose your skin and press 'Take Job'\n Go to the yellow marker and get the Sheep \n When the sheeps up to 5 go to the green marker to \n Sell the sheeps and take your money. ", false, SheepWindow) guiSetFont(LabelNoteFBI, "default-bold-small") guiLabelSetColor(LabelNoteFBI, 223, 202, 31) GUIEditor.gridlist[1] = guiCreateGridList(9, 156, 293, 189, false, SheepWindow) LabeloRFBI = guiCreateLabel(139, 408, 34, 27, "OR", false, SheepWindow) guiLabelSetColor(LabeloRFBI, 255, 165, 0) guiGridListAddColumn(GUIEditor.gridlist[1], "#", 0.3) guiGridListAddColumn(GUIEditor.gridlist[1], "Skin Number", 0.3) guiGridListAddColumn(GUIEditor.gridlist[1], "Skin Name", 0.3) for i,v in ipairs(Skins) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1], row, 1, i, false, false) guiGridListSetItemText(GUIEditor.gridlist[1], row, 2, v[1], false, false) guiGridListSetItemText(GUIEditor.gridlist[1], row, 3, v[2], false, false) end وهي كود فتح الماركر function showGUIbtt(hitPlayer) if hitPlayer == localPlayer then if getPlayerTeam (localPlayer ) and getPlayerTeam (localPlayer) == getTeamFromName ("Criminals") then guiSetVisible(SheepWindow, true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end end addEventHandler("onClientMarkerHit", Taxi1, showGUIbtt) صارلي ساعة عم اجرب عالفاضي اللوحة تفتح لكل التيمات
#|_oskar_|# Posted May 1, 2016 Posted May 1, 2016 كيف كل التيمات والتحقق متسوي لتيم واحد وهو الكريمينالس + جربت الكود وشغال معي تمام واذا كنت بتيم ثاني ماتفتح اللوحه لا اله الا انت سبحانك اني كنت من الظالمين My Group : https://www.facebook.com/groups/992678147519191/
Abo-Al3ZaB Posted May 1, 2016 Author Posted May 1, 2016 كيف كل التيمات والتحقق متسوي لتيم واحد وهو الكريمينالس+ جربت الكود وشغال معي تمام واذا كنت بتيم ثاني ماتفتح اللوحه طب والحل الحين معي ما زبط ايش المشكلة ؟؟
billal Posted May 1, 2016 Posted May 1, 2016 جرب كدا addEventHandler("onClientMarkerHit", Taxi1, function (hitPlayer) if (hitPlayer == localPlayer) and ( getPlayerTeam (localPlayer )) and ( getPlayerTeam (localPlayer) == getTeamFromName ("Criminals")) then guiSetVisible(SheepWindow, true) showCursor( true ) else exports["guimessages"]:outputClient("Only for Criminals Team", 255, 0, 0) end end) NaRoTu~~~~~~~~~~DZ Gta 4u Soon
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