-
Posts
391 -
Joined
-
Last visited
-
Days Won
2
Posts posted by Bassam*Syria
-
-
1 hour ago, .TiGGeR said:
يوووووووووووووه يقدمك
منور المنتدى
حبيبي ♥
37 minutes ago, xFabel said:مافي فانكشن بالمود اسمه
Send
-
اعرض لنا الفانكشن الي تتصل عليه
discordالي ب مود
اسم الفنكشن :send
-
10 hours ago, #STZ said:
افكار اية ؟
عندي مشكلة في مود الشوب سيستم لو حد واجهته نفس المشكلة ياريت يساعدني لو حد مش عارف الحل ياريت ميردش علي الموضوع
لانه رده مش هيفدني
متوقع ب اسلوبك ذا ممكن حد يساعدك ؟
-
مدري كيف مستني حد يساعدك وانت م عرضت اكوادك ولا شي كيف نعطيك حل خخ
-
42 minutes ago, xFabel said:
داتا شغال ب ملف ثاني
ورني الكود حق اعطاء الداتا
-
مدري تحقق الداتا تاعم فيه غلط كيف مسوي تحقق لداتا وانت مب عاطيه الداتا ذي؟
- 1
-
Just now, xFabel said:
الكود ذاك الي يعطي داتا انت قصدك من
setElementData..
-
اعرض كود اعطاء الداتا
-
local xd = {} function aaxd(player) if not isElement(player) then return end xd.avatar = getElementData(player, "avatarHash") or false outputChatBox(xd.avatar) if xd.avatar then local path = ":avatars/avatarcache/"..xd.avatar if fileExists(path) then xd.avatar = dxCreateTexture(path) else xd.avatar = false end end xd.player = player end function av() local avatar = xd.avatar or tes.defaultAvatar dxSetShaderValue(tes.maskShader, "imageTexture", avatar) dxDrawImage(drawX-iscale+pictureOffset, drawY - iscale+pictureOffset, pictureSize, pictureSize,tes.maskShader,0,0,0, tocolor(255, 255, 255, alpha),false) end addEventHandler("onClientRender ", root, av)
ركبه و قولي وش يطلع فشات لما تتصل بالفنكشن
-
حمل لك من اليوتيوب باك اب حق سيرفر هجولة
ودور فيهم بتحصله
-
-
-
7 minutes ago, enaxdao said:
سلام عليكم محتاج مود الفلشر للسيارات
عليكم السلام اخيو قبل م تطلب مود حاول تبحث عنه
لقيته لك ب اقل من 10 ثواني ... خخ
-
-
عليكم السلام
في كثيير استخدامات للجداول
تقدر تضيف احداثيات ومعلومات لجدول
local markers = { {758.51599121094,753.36242675781,-4.0033869743347,"cylinder",1}, {470.33850, 810.26843, -9.91448,"arrow",2} }
بعدين نسوي امؤ يصنع كل الماركرات ذي ب اسم واحد !
for _,v in pairs (markers) do MarkerName = createMarker(v[1],v[2],v[3],v[4],v[5],255,255,255,255) end --v[1] والقيم الانيه ياخذها من الجدول والخ كلها نفس العمليه
الحين في سؤال بيطرح نفسه
وش الفرق ؟ ليش م اسوي
createMarker
وخلاص؟
ليش اسوي جدول و الحوسه ذي لماركرات ؟
الفائده انه تقدر تخفي كل الماركراتت ب كزد زاحد
destroyElement(MarkerName) -- يشيل كل الماركرات الي تصنعت من الجدول..
ذا مثال تقدر تطبقه عكل شي !
وفي امثله كثير مثلا تسوي جدول فاضي و تضيف ناس عليه و تشيلهم والخ
ذا موضوع تاني
لو تحب اشرحه لك خبرني
اتتمنا تعليقي يفيدك
#بسام_سوريا
- 1
-
-
function commitSuicide ( sourcePlayer ) if isTimer(stmr[sourcePlayer]) then killTimer(stmr[sourcePlayer]) outputChatBox("تم الغاء طلب الأنتحار",sourcePlayer,255,0,0) return false end if isPedDead(sourcePlayer) then return false end stmr[sourcePlayer] = setTimer(killPed, 10000, 1, sourcePlayer) addEventHandler("onPlayerWasted", sourcePlayer, function () if not isTimer(stmr[sourcePlayer]) then return end killTimer(stmr[sourcePlayer]) triggerClientEvent(sourcePlayer, "stopKillM", sourcePlayer) showCursor(sourcePlayer, false) end) addEventHandler("onPlayerQuit", sourcePlayer, function () if not isTimer(stmr[sourcePlayer]) then return end killTimer(stmr[sourcePlayer]) triggerClientEvent(sourcePlayer, "stopKillM", sourcePlayer) showCursor(sourcePlayer, false) end) triggerClientEvent(sourcePlayer, "showKillM", sourcePlayer) showCursor(sourcePlayer, true) addEventHandler("onPlayerSpawn", getRootElement(), function() showCursor(source, false) end) else outputChatBox("لا يمكنك ان تقتل نفسك الان!",sourcePlayer, 255, 0, 0) end addCommandHandler ( "kill", commitSuicide )
اعتقد انت م وضحت من البداية وش تبي
المهم في end
زياده بالفنكشن يلي تحت
مدري كيف كان شغال معاك
لكن لو م شتغل ضيف انت زي م تبي انا عملت لك كود التحقق
لو التايمر موجود يكنسل التايمر وخلاص
- 1
-
مدري لو صلحت الخبصة حقتك صراحة سويت سريع سريع
stmr = {} function commitSuicide ( sourcePlayer ) if isTimer(stmr[sourcePlayer]) then outputChatBox("لقد قمت باستخدام الكومند يجيب عليك الانتظار",sourcePlayer,255,0,0) return false end if isPedDead(sourcePlayer) then return cancelEvent() outputChatBox("لا يمكنك ان تقتل نفسك الان!",sourcePlayer, 255, 0, 0) end stmr[sourcePlayer] = setTimer(killPed, 10000, 1, sourcePlayer) triggerClientEvent(sourcePlayer, "showKillM", sourcePlayer) showCursor(sourcePlayer, true) end addCommandHandler ( "kill", commitSuicide ) addEventHandler("onPlayerWasted", root, function () if not isTimer(stmr[source]) then return end killTimer(stmr[source]) triggerClientEvent(source, "stopKillM", source) howCursor(source, false) end ) addEventHandler("onPlayerQuit", root, function () if not isTimer(stmr[source]) then return end killTimer(stmr[source]) triggerClientEvent(source, "stopKillM", source) showCursor(source, false) end) addEventHandler("onPlayerSpawn", getRootElement(), function() showCursor(source, false) end)
- 1
-
السلام عليكم
ذا مثال اعتقد مفهوم مفي داعي اشرحهlocal screenW, screenH = guiGetScreenSize() function content() dxDrawRectangle((screenW - 356) / 2, (screenH - 447) / 2, 356, 447, tocolor(0, 0, 0, 150), false) -- 447 + 356 الارقام الاصليه حقت المكان الي تبيه dxDrawText("Test", (screenW - 150) / 2, (screenH - 450) / 2, 150, 450, tocolor(255, 255, 255, 255), 1.00, "bankgothic", "left", "top", false, false, false, false, false) end
- 1
-
تمت الأفاده الشب تواصل معاي و حليت له المشكله
#عشان ماحد يتعب نفسه بس
♥
- 1
-
انا مسويها لك اخوي خذ الي فوق بس وجرب
بيطلع لك فشات كلمى
test
addCommandHandler("cena", function (player, cmd, sound) if isTimer(TimerTest) then return outputChatBox("test",getRootElement(),255,255,255, true) end if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("Donation")) then triggerClientEvent("onClientPlaySound", player, sound) TimerTest = setTimer(function() outputChatBox("#66CC99[SOUNDS]#FFFFFF : "..getPlayerName(player).. "#FFFFFF AND HIS NAME IS CENAA!",getRootElement(),255,255,255, true) end,3700,1) end end )
- 1
-
1 hour ago, liwahadri said:
function(player) sound.enter() sound = playSound ("sfx/"..math.random(1, numbers)..".mp3", true) radioSound = playSound(stationURL) triggerClientEvent(player,"stopradioamk", player) end)
اعتذر عتأخير م انتبهت انك رديت
جرب كذا
-
الكودين الي حطيتهم كل واحد ب ملف لحاله ؟ ولا الاثنين ب كلاينت واحد ؟
BassamSyriA#7911
ذا الدسكورد حقي
-
السلام عليكم و رحمة الله و بركاته
addCommandHandler("cena", function (player, cmd, sound) if isTimer(TimerTest) then return outputChatBox("test",getRootElement(),255,255,255, true) end if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(player)), aclGetGroup("Donation")) then triggerClientEvent("onClientPlaySound", player, sound) TimerTest = setTimer(function() outputChatBox("#66CC99[SOUNDS]#FFFFFF : "..getPlayerName(player).. "#FFFFFF AND HIS NAME IS CENAA!",getRootElement(),255,255,255, true) end,3700,1) end end ) addCommandHandler("stopcena", -- امر اطفاء الاغنية او الصوت الي شغلته function (player,cmd, sound) if isTimer(TimerTest) then -- تحقق لو التايمر الي فوق شغال ولا خلص killTimer ( TimerTest ) triggerClientEvent("onClientPlaySound", player, sound) -- سويه ذا انت عشان يطفي الاغنيه outputChatBox("#66CC99[SOUNDS]#FFFFFF : "..getPlayerName(player).. "#FFFFFF 222222",getRootElement(),255,255,255, true) end end )
حد يقولي وش سالفه هنا؟
in البرمجة
Posted
جرب كذا