AboShanab
Members-
Posts
1,348 -
Joined
-
Last visited
Everything posted by AboShanab
-
.:[ انطلاق الموقع الخاص بسيرفر محترفين الالعاب ]:.
AboShanab replied to Bssol's topic in Arabic / العربية
بالتوفيق خيي بسول ,, تصميم روعة وانت الاروع ,, يعطيك الف الف عافية ,, احلى تحيةة ,, -
يقول لك اسم الموضوع هو : مششششكلة يبغاكـ تسويهـ : isLineOfSightClear > تمت الافادة
-
حط في ملف mtaserver ايبي الخادم داخل هذا
-
اوما عاد Pimp ما القواد الا ها المنتدى ..
-
طيب عطني مثال عليها واشرحه .. لان انا عارف كيف لكن ابي كيف القياسات احطها
-
local x,y = guiGetScreenSize () ابي اعرف كيف احسبها مثلا ابيها تكون يسار او يمين او فوق
-
بوابة المقر ماركر تروح له تفتح البوابة او كول شيب تروح له تفتح البوابة ---------------------------------- بوابة السجن تضغط Tab تفتح ----------------------------------
-
يوم ياخذ الوظيفة يكون بتيم Police ?
-
-- Server Side ! في ملف سيرفر مو ملف كلنت
-
ولا واحد فيه سباون امسك بسويه لك -- Wasted Police -- By Abo[s]hanab~> -- Server Side ! addEventHandler("onPlayerWasted",root,function() if ( getPlayerTeam(source) == getTeamFromName("Police") ) then spawnPlayer(source,x,y,z) end end) طبعا الحين وقت يموت الاعب يتاكد اذا كان في تيم Police يسوي له سباون -- التعديلات في سطر 6 غير x,y,z الى الاحداثيات اللي تبغاها
-
ي اخي اطرحهم كلهم عشان اعرف وين السباون بالضبط
-
اطرح كودك .. #
-
function showClientImage() Image = guiCreateStaticImage( 690, 200, 100, 150, "R1.png", false ) Image2 = guiCreateStaticImage( 400, 200, 100, 150, "R2.png", false ) Image3 = guiCreateStaticImage( 200, 200, 100, 150, "R3.png", false ) end addEventHandler( "onClientResourceStart", resourceRoot, showClientImage ) setTimer ( function ( ) if ( guiGetVisible ( Image ) == true or guiGetVisible( Image2 ) == true or guiGetVisible ( Image3 ) == true ) then guiSetVisible ( Image, false ) guiSetVisible ( Image2, false ) guiSetVisible ( Image3, false ) end end ,5000,0 )
-
وانت بالف خير وصحة وسلامة .. ^^
-
-- Server Side ! addEventHandler("onPlayerCommand",root, function(cmd) if ( cmd == login ) then cancelEvent() outputChatBox(" disbaled this command",source,255,0,0,false) elseif ( cmd == register ) then cancelEvent() outputChatBox(" disbaled this command",source,255,0,0,false) elseif ( cmd == logout ) then cancelEvent() outputChatBox(" disbaled this command",source,255,0,0,false) end end)
-
طيب انت متاكد من اسم الزر و اسم النافذه ؟
-
يفيدك غيري مالي خبرة بالفري روم
-
اشرح انت وين حاط الـ stat يعني حاطه بـ السكور او في لوحة او كيف
-
جرب هذا افضل https://community.multitheftauto.com/index.php?p= ... includes=1 واذا تبي تجيب ايدي الاعب function callTest(player, command, id) player = call(getResourceFromName("idsystem"), "getPlayerFromID", tonumber(id)) if player then outputChatBox(getPlayerName(player) .. " is online!", player) else outputChatBox("Player is not online, or call function failed.", player) end end addCommandHandler("calltest", callTest)
-
-- # Client Side ! function guiCreateWindow( x2, y2, width2, height2, titleBarText2, relative2 ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "7ASSAN.png", relative2 ) local mainBackgroundLabel = guiCreateLabel ( 0,0,250, 100, titleBarText2, false, mainBackground ) guiSetFont ( mainBackgroundLabel, newFont ) guiSetEnabled ( mainBackgroundLabel, false ) return mainBackground end Wnd = guiCreateWindow(214,117,416,345,":: Skin System ::",false) button = guiCreateButton(370,27,35,14,"X",false,Wnd) Label2 = guiCreateLabel(145,48,125,25,"سكربت اختيار الشخصية من قبل روماند ",false,Wnd) guiLabelSetColor(Label2,0,255,15) guiLabelSetColor(Label1,255,0,0) showCursor(false) guiSetVisible( Wnd, false ) guiWindowSetSizable( Wnd, false ) guiWindowSetMovable( Wnd, false ) skin = { {"=== / ثوب صيفي", 46}, {"=== / ثوب شتوي", 124}, {"=== / جيش", 260}, {"=== / عصابة", 270}, {"=== / 'طيار", 62}, {"=== / سي جي", 0}, {"=== / بوشنب", 180}, {"=== / مسعف", 275}, {"=== / مهرج", 264}, } grid = guiCreateGridList(9,74,394,219,false,Wnd) guiGridListAddColumn(grid,"Skins",0.9) for i,sk in ipairs(skin) do row = guiGridListAddRow(grid) guiGridListSetItemText(grid, row, 1, tostring(sk[1]), false, false) guiGridListSetItemData(grid, row, 1, tostring(sk[2])) guiGridListSetItemColor ( grid, row, 1, math.random(255), math.random(255), math.random(255) ) end function use() if ( source == grid ) then if ( guiGridListGetSelectedItem(grid) ~= -1) then local model = guiGridListGetItemData(grid, guiGridListGetSelectedItem ( grid ), 1) triggerServerEvent("useSkin", localPlayer, model) end end end addEventHandler("onClientDoubleClick", root, use) function close() if (source == button) then guiSetVisible(Wnd,false) showCursor(false) end end addEventHandler("onClientGUIClick", button, close) function guishowc() guiSetVisible(Wnd,true) showCursor(true) end addEvent("guishowc",true) addEventHandler("guishowc", getRootElement(), guishowc) -- # Server Side ! marker = createMarker( 2244.5842285156, -1664.9024658203, 15.4765625, "cylinder", 2, 255, 255, 0, 255 ) blip = createBlip( 2244.5842285156, -1664.9024658203, 15.4765625, 45 ) function buy(id) reskin = setElementModel(source, tonumber(id)) takePlayerMoney(source, 100) playeraccount = getPlayerAccount(source) setAccountData(playeraccount, "standardskin", tonumber(id)) end addEvent("useSkin",true) addEventHandler("useSkin", root, buy) function guishow(hitPlayer) triggerClientEvent (hitPlayer,"guishowc",hitPlayer) end addEventHandler("onMarkerHit",marker,guishow)
-
يعطيك العافية يعني الزبدة حتى لو ما حطيته مع كود الكلام عادي صحيح ؟ وسؤال ليه سورآ في المود حقه استخدمه يعني ليه ما حطه بدونه ؟
