-
Posts
779 -
Joined
-
Last visited
Everything posted by Ja[B]er[X]Pro
-
مشكووووووووووور الشخص الوحيد الذي رد
-
شكراً لكم ممكن شرح لهذه الارقمنتات ؟؟ force: float representing the starting force for throwable projectiles. target: element target used for heat seeking rockets. rotX, rotY, rotZ: float starting rotation for the projectile. velX, velY, velZ: float starting velocity for the projectile. model: Integer representing the projectile's model, uses default model for weaponType if not specified.
-
السلام عليكم ورحمة الله وبركاته سويت منطقة ابي عندما لاعب يدخلها تلاحقه صواريخ ممكن الفنكشنات؟
-
ما ضبط -___- كيف ما ضبط -___- انا جربته بنفسي وشغال %100
-
شكراً لك يوجد مشكلة السنة تيجي 116
-
المود صار ما يشتغل function getTime( ) local time = getRealTime( ) local h = time.hour local m = time.minute local s = time.second local y = time.year local m = time.month local d = time.monthday return y.."-"..m.."-"..d.." "(h % 12 and h % 12 or 12)..":"..(m < 10 and "0"..m or m)..":"..s.." "..(h >= 12 and "PM" or "AM") end TIME = guiCreateLabel(711, 141, 140, 40, "", false) addEventHandler("onClientRender",root,function() local time = getTime() guiSetText(TIME,"["..tostring(time).."]") end) الدي بق يقول سطر 9 end
-
شكراً لك على المساعدة
-
سؤال اخر كيف اجيب التاريخ ؟
-
شكرأًً لك ولكل شخص ساعدني
-
شكراً لك اختفت ال nil لكن ماذا عن الثواني ما تظهر function getTime( ) local time = getRealTime( ) local h = time.hour local m = time.minute local s = time.second return (h % 12 and h % 12 or 12)..":"..(m < 10 and "0"..m or m).." "..(h >= 12 and "PM" or "AM") end TIME = guiCreateLabel(711, 141, 140, 40, "", false) addEventHandler("onClientRender",root,function() local time = getTime() guiSetText(TIME,""..tostring(time).."") end)
-
ضفت الثواني صار يجي 9:49 PM:nill:nill function getTime( ) local time = getRealTime( ) local h = time.hour local m = time.minute local s = time.second return (h % 12 and h % 12 or 12)..":"..(m < 10 and "0"..m or m).." "..(h >= 12 and "PM" or "AM") end TIME = guiCreateLabel(711, 141, 79, 33, "", false) addEventHandler("onClientRender",root,function() local h,m,s = getTime() guiSetText(TIME,""..tostring(h)..":"..tostring(m)..":"..tostring(s).."") end) ما هو الحل؟
-
شكراً لك ولكل شخص ساعدني يجيني الساعة 9:42 PM:nil كيف امسح ال nil ??
-
ERROR Time\C.lya:13: attempt to conactenate local 'm' (a nil value)
-
شكرأً لكم ممكن تصحيح ERROR: Time\C.lua:9: attempt to conactenate gloal 'm' (a nill value) function getTime( ) local time = getRealTime( ) local h = time.hour local m = time.minute return (h % 12 and h % 12 or 12)..":"..(m < 10 and "0"..m or m).." "..(h >= 12 and "PM" or "AM") end TIME = guiCreateLabel(711, 141, 79, 33, ""..h..":"..m.."", false) guiSetFont(TIME, "sa-header") addEventHandler("onClientRender",root,function() guiSetText(TIME,""..h..":"..m.."") end)
-
السلام عليكم ورحمة الله وبركاته سويت مود بسيط وهو الوقت الحقيقي بالسيرفر يوجد مشكلتان الاولى هي ان الساعة 7 تيجي 19 والمشكلة الثانية بأن الساعة مثال 7:16 ما تتغير وتبقى كما هي local time = getRealTime() local hours = time.hour local minutes = time.minute GUIEditor = { label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.label[1] = guiCreateLabel(711, 141, 79, 33, ""..hours..":"..minutes.."", false) guiSetFont(GUIEditor.label[1], "sa-header") end ) addEventHandler("onClientRender",root,function() guiSetText(GUIEditor.label[1],""..hours..":"..minutes.."") end)
-
تسوي عند الضغط على زر onClientGUIClick يجيب الكلام الذي بالايديت local text = guiGetText(editname) ويضعه بالايديت الذي باللوحة الثانية guiSetText(editname2,text) editname = اسم الايديت editname2 = اسم الايديت الذي تبي يروح له الكلام
-
Taxi1 = createMarker(2351.49829,-646.99908,127.05469,"cylinder",1.5,255,255,0,255) local Skins = {{"159",'Shepherd|1|'}} SheepWindow = guiCreateWindow(247, 74, 312, 456, ".:[Gta-Wd]|[sheep Job]:.", false) guiWindowSetSizable(SheepWindow, false) guiSetVisible(SheepWindow,false) b1 = guiCreateButton(9, 398, 94, 41, "Take Job", false, SheepWindow) guiSetProperty(b1, "NormalTextColour", "FF00FF00") b2 = guiCreateButton(214, 398, 88, 41, "Close", false, SheepWindow) guiSetProperty(b2, "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) g1 = guiCreateGridList(9, 156, 293, 189, false, SheepWindow) LabeloRFBI = guiCreateLabel(139, 408, 34, 27, "OR", false, SheepWindow) guiLabelSetColor(LabeloRFBI, 255, 165, 0) guiGridListAddColumn(g1, "#", 0.3) guiGridListAddColumn(g1, "Skin Number", 0.3) guiGridListAddColumn(g1, "Skin Name", 0.3) for i,v in ipairs(Skins) do local row = guiGridListAddRow(g1) guiGridListSetItemText(g1, row, 1, i, false, false) guiGridListSetItemText(g1, row, 2, v[1], false, false) guiGridListSetItemText(g1, row, 3, v[2], false, false) end addEventHandler("onClientMarkerHit",Taxi1,function(hitPlayer) if hitPlayer == localPlayer then if getPlayerTeam (localPlayer ) and getPlayerTeam (localPlayer) == getTeamFromName ("Criminals") then guiSetVisible(SheepWindow,true) showCursor( true ) else exports["guimessages"]:outputClient(source,"Only for Criminals Team", 255,0,0) end end end) addEventHandler("onClientGUIClick",root,function() if (source == b2) then guiSetVisible(SheepWindow,false) showCursor(false) end end)
-
cancelLatentEvent ممكن شرح له؟
-
آسف جابر ماصار شي يعني ما في فرق باللعبة اسف على وش؟؟ انا اقول لك تشوفه لاني اعتقد بأنك ما شفته
-
شوف حق ميزو بالمساهمات
-
شوف صححته لك فيس
-
طلب مساعدة رح تفيدني وتفيد اصحاب السيرفرات
Ja[B]er[X]Pro replied to AHMED MOSTAFA's topic in البرمجة
اها شكراً ما انتبهت له
