السلام عليكم ورحمة الله وبركاتة
بدون مقدمات كثيره , حاب اطرح لكم برنامج يفيد المبرمجين يجلب لك اسم وصفحه الويكي حقت الفنكشن من اول كم حرف له , مع الصور راح تفهمون اكثر لغه البرمجه : vb.net الصور : 1- واجهة البرنامج
2- طريقه عمل البرنامج
اظن الفكره واضحه ومايحتاج لها شرح كثير
رابط التحميل
Download
Qx3 : حقوق البرمجة
اذا الموضوع في القسم الخطأ ارجو نقله للقسم الصحيح*
يتحقق من ان الاحداثيات المطلوبه موجوده علي الارض
طبعا ماله داعي يستخدم اليوزفل فانكشن كاامل , يقدر يستخدم سطر 4 و 5 فقط , لأن هم الي يتحققون من انك علي الارض او لا
siren-system
Not enough context to help you with this.
For the interior.
Use createElement and set it's children.
local newElement = createElement("interiorEntrance", "interiorEntrance:" .. interiorID)
for i=1, 30 do
local marker = createMarker (...)
setElementParent(marker, newElement)
end
destroyElement(newElement) -- will also destroy it's children.
Syntax createElement:
element createElement ( string elementType, [ string elementID = nil ] )
Hello,
How do you make the grid stacked on top each other?
I try to make it, but it's really pain because it's not like bootstrap/html
I have been make it, but its hard to implement it into my another scripts
So, i just wonder how is your code or at least give me a logic how to make it.
I'm sorry if it's OOT, and i hope you understand my english.
So, I was working on scrollbar stuff on DX function, took me a while to figure it out how to make calculation for it. So far, I have this:
local visibleHeight -- the visible height (panel height)
local overallHeight -- overall height for all items
local scrollPosition -- I suggest you to make it 0 - 100 range
local itemCoorY -- static coordinate Y for item (initial Y position when item created)
local currentCoorY = itemCoorY -- current Y coordinate, when it started, default is itemCoorY (assuming scroll pos is zero)
-- If there is no invisible item then we don't need to calculate this.
if overallHeight <= visibleHeight then
return
end
-- Formula = scroll bar percentage divided by the invisible height
newY = scrollPosition/100*(overallHeight-visibleHeight)
currentCoorY = itemCoorY - newY -- newY is negative value, because item goes up when it scrolled.
Hope it help you.
soo good and so easy to use but u have small mistake in grid list the scrollbar not working
line 443 at client.lua
any way i fixed it
download link:https://up.top4top.net/downloadf-67100qlm1-zip.html
_getRandomPlayer = getRandomPlayer
local lastPlayer
function getRandomPlayer ( )
local player = _getRandomPlayer ( )
if ( isElement ( lastPlayer ) and lastPlayer ~= player ) then
repeat
player = _getRandomPlayer ( )
until ( lastPlayer ~= player )
end
lastPlayer = player
return player
end
Esta funcion deberia hacer lo que vos queres, el jugar nunca sera el mismo que la ultima vez.