Ja[B]er[X]Pro Posted January 24, 2016 Author Share Posted January 24, 2016 انت تبي فقط اللى بالجروب يعبو دم عند دخولهم الماركر ؟ انا ابي عند تشغيل المود يجيب كل الماراكات يتحقق اذا لونها احمر + حجمها 2.5 ويخليها عند لمس الاعب لها تعطيه دم لكن ما بي شخص من جروب يروح لماركر جروب اخر ويعبي منه Link to comment
#|_oskar_|# Posted January 24, 2016 Share Posted January 24, 2016 انت تبي فقط اللى بالجروب يعبو دم عند دخولهم الماركر ؟ انا ابي عند تشغيل المود يجيب كل الماراكات يتحقق اذا لونها احمر + حجمها 2.5 ويخليها عند لمس الاعب لها تعطيه دم لكن ما بي شخص من جروب يروح لماركر جروب اخر ويعبي منه يتحقق اذا لونه احمر وحجمه 2.5 يعطيه دم addEventHandler( "onPlayerMarkerHit",root,function () if getElementType(source) == "player" and getElementData(source,"Group") == "Group Name" then for k, v in pairs( getElementsByType("marker") ) do local Red,Green,Blue = getMarkerColor(v) if getMarkerSize (v) == 2.5 and Red == 255 and Green == 0 and Blue == 0 then setElementHealth( source,100) end end else outputChatBox ( "يجب ان تكون من اعضاء الفريق لتعبئ دمك",source, 255,255,0) end end) Link to comment
Ja[B]er[X]Pro Posted January 25, 2016 Author Share Posted January 25, 2016 local window = guiCreateWindow(353, 146, 323, 358, "[bASE]", false) guiWindowSetSizable(window, false) guiSetVisible (window,false) guiSetAlpha(window, 1.00) guiSetVisible(window,false) local gridlist = guiCreateGridList(33, 46, 256, 253, false, window) guiGridListAddColumn(gridlist, "Cars", 0.9) local button2 = guiCreateButton(29, 311, 68, 35, "Use", false, window) guiSetProperty(button2, "NormalTextColour", "ffff0000") local button = guiCreateButton(288, 25, 26, 22, "[X]", false, window) guiSetProperty(button, "NormalTextColour", "FFFF0000") local car = {415, 541,521,522,411,560 ,451,480, 579 ,568,565,581,461,522,468} for _,vehicle in ipairs (car) do local row = guiGridListAddRow ( gridlist ) guiGridListSetItemText ( gridlist, row, 1,getVehicleNameFromModel (tonumber( vehicle )), false, false ) end addEventHandler("onClientGUIClick",button2, function () local carxx = guiGridListGetItemText ( gridlist, guiGridListGetSelectedItem ( gridlist ), 1 ) if carxx == "" then return outputChatBox("Please Use Car",255, 0, 0,true) end triggerServerEvent("carx",localPlayer,carxx) guiSetVisible(window,false) showCursor(false) end,false ) addEventHandler( "onClientGUIClick", button , function () guiSetVisible(window,false) showCursor(false,false) end ) addEventHandler("onPlayerMarkerHit",root,fuction() if getElementType(souce) == "player" and getElementData(source,"Group") == "Group Name" then for k, v in pairs( getElmemntsByType("marker")) do local Red,Green,Blue = getMarkerColor(v) if getMarker Size (v) == 2.5 and Red == 0 and Green == 255 and Blue == 0 then guiSetVisible ( window ,true ) showCursor( true ) end end end) هل هذا صحيح ؟؟؟ اذا كان لون الماركر اخضر يعطيه لوحة السيارات ؟؟ Link to comment
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