-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
التيمات موجودة بالسكور بورد؟
-
انت جالس تقارن المنت التيم ب سترنق لازم تجيب اسم التيم ب فنكشن getTeamName
-
احذف سورس من سطر 49، السورس معرف داخل الحدث ما يحتاج انت تعرفه يعني مخفي
-
ينقل إلى قسم المساهمات
-
أنت فهمت غلط ما يصير تحطها بدون ما يكون فيه شرط else انا اقصد ان ال if xxxxxxxx then -- تحقق الشرط else -- لم يتحقق الشرط end -- إغلاق ما يصير تحطها بدون ما يكون فيه شرط elseif و حتى ال if xxxxxxxx then -- الشرط الأول -- تحقق الشرط الأول elseif xxxxxxx then -- لم يتحقق الشرط الأول، وضع شرط ثاني -- تحقق الشرط الثاني end -- إغلاق else + elseif و ممكن تحط if xxxxxxxx then -- الشرط الأول -- تحقق الشرط الأول elseif xxxxxxx then -- لم يتحقق الشرط الأول، وضع شرط ثاني -- تحقق الشرط الثاني else -- لم يتحقق الشرط الأول و لم يتحقق الشرط الثاني end -- إغلاق
-
setSoundVolume او setSoundPaused
-
on[color=#FF0000]Client[/color]PlayerJoin on[color=#FF0000]Client[/color]PlayerQuit on[color=#FF0000]Client[/color]PlayerChangeNick
-
function hassan(source) setPedWalkingStyle(source,0) outputChatBox ( "You Now Wolking", source, 255, 255, 255, true ) end -- --end function addCommandHandler ( "walk", hassan)
-
setElementDimension(Marker, getElementDimension(localPlayer)) setElementInterior(Marker, getElementInterior(localPlayer))
-
شغال MoDeR2014 كود
-
تجيب اسم اللوكل بلاير؟
-
rx او ry اضرب كل احجام الخط في rz او جرب ذا و اضرب الأحجام في local rx, ry, rz = (x/1360), (y/768), (x+y)/(1360+768)
-
GUIEditor = { gridlist = {} } wnd = guiCreateWindow(364, 204, 295, 393, "x[ تجربةة ]x", false) guiWindowSetSizable(wnd, false) GUIEditor.gridlist[1] = guiCreateGridList(9, 15, 276, 321, false, wnd) guiGridListAddColumn(GUIEditor.gridlist[1], "List", 0.9) Start = guiCreateButton(60, 346, 75, 37, "x[ تشغيل ]x", false, wnd) guiSetProperty(Start, "NormalTextColour", "FFAAAAAA") Stop = guiCreateButton(173, 346, 75, 37, "x[ أيقاف ]x", false, wnd) guiSetProperty(Stop, "NormalTextColour", "FFAAAAAA") guiSetVisible ( wnd ,false ) bindKey("F3", "down", function () guiSetVisible(wnd, not guiGetVisible (wnd)) showCursor(guiGetVisible(wnd)) end ) --------------------------------- List = { {" الفاتحة ","http://server11.mp3quran.net/sds/001.mp3"}, } for _,v in ipairs ( List ) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 1 ] ), false, false) guiGridListSetItemData ( GUIEditor.gridlist[1], row, 1, tostring ( v [ 2 ] )) guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) end addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == Start ) then if ( isElement ( sound ) ) then destroyElement ( sound ) end if ( guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) ~= -1 ) then local Link = guiGridListGetItemData ( GUIEditor.gridlist[1], guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ), 1 ) sound = playSound ( tostring ( Link ), true ) end end end ) addEventHandler ( "onClientGUIClick", resourceRoot, function ( ) if ( source == Stop ) then if ( isElement ( sound ) ) then destroyElement ( sound ) end end end )
-
مافيه كلمة بأف 8 تسويه بنفسك addCommandHandler getCameraMatrix outputChatBox
-
getCameraMatrix
-
..و انت من جدك رايح تجرب بعد؟ هريس xmlLoadFile xmlCreateFile xmlFindChild xmlCreateChild xmlNodeSetValue xmlNodeGetValue guiGetText guiSetText xmlSaveFile
-
local vehTB = {} local marker = createMarker(2498.375, -1674.697, 13.34354, "cylinder", 2, 0, 255, 0, 255) addEventHandler("onMarkerHit", marker, function(player) if getElementType(player) == "player" then if isElement(vehTB[player]) then destroyElement(vehTB[player]) vehTB[player] = nil end local x, y, z = getElementPosition(source) vehTB[player] = createVehicle(411, x, y, z + 1.5) warpPedIntoVehicle(player, vehTB[player]) end end) ولا تنسى تحذف السيارة لما اللاعب يخرج من السيرفر
-
addEvent("buyInvisible", true) addEventHandler("buyInvisible", root, function() local check = getElementAlpha(source) == 255 outputChatBox(check and "انت الان مختفى" or "انت الان غير مختفي", source, 0, 255, 0, true) setElementAlpha(source, check and 0 or 255) setPlayerNametagShowing(source, not check) end)
