ps ui
2.0.1
لجميع أسئلة الدعم، اطرحها في دردشة دعم Discord. لا تقم بإنشاء مشكلات على GitHub إذا كنت بحاجة إلى المساعدة. المشكلات مخصصة للإبلاغ عن الأخطاء والميزات الجديدة فقط.
ابدأ لعبة متاهة الأرقام مع رد الاتصال بالنجاح أو الفشل.
exports [ ' ps-ui ' ]: Maze ( function ( success )
if success then
print ( " success " )
else
print ( " fail " )
end
end , timeLimit ) -- Hack Time Limit in seconds 
عرض إشعار بالنص والنوع والمدة.
exports [ ' ps-ui ' ]: Notify ( ' Your message ' , ' notification-type ' , duration )
ابدأ لعبة الدائرة مع رد الاتصال بالنجاح أو الفشل.
exports [ ' ps-ui ' ]: Circle ( function ( success )
if success then
print ( " success " )
else
print ( " fail " )
end
end , numCircles , time ) -- Number of Circles, Time in milliseconds 
ابدأ لعبة Scrambler مع رد اتصال للنجاح أو الفشل.
exports [ ' ps-ui ' ]: Scrambler ( function ( success )
if success then
print ( " success " )
else
print ( " fail " )
end
end , type , time , mirrored ) -- Type options: alphabet, numeric, alphanumeric, greek, braille, runes; Time in seconds; Mirrored options: 0, 1, 2 
ابدأ لعبة VAR Hack مع رد الاتصال بالنجاح أو الفشل.
exports [ ' ps-ui ' ]: VarHack ( function ( success )
if success then
print ( " success " )
else
print ( " fail " )
end
end , numBlocks , time ) -- Number of Blocks, Time in seconds 
ابدأ لعبة Thermite مع رد اتصال للنجاح أو الفشل.
exports [ ' ps-ui ' ]: Thermite ( function ( success )
if success then
print ( " success " )
else
print ( " fail " )
end
end , time , gridSize , incorrectBlocks ) -- Time in seconds, Grid Size (5-10), Incorrect Blocks 
إنشاء قائمة بالقوائم الفرعية والأحداث.
exports [ ' ps-ui ' ]: CreateMenu ({
{
id = " examplemenu " , -- has to be unique
header = " Menu Header " ,
text = " Menu Text " ,
icon = " icon-class " ,
color = " color " ,
event = " event-name " ,
args = { arg1 , arg2 },
server = false ,
subMenu = {
{
id = " examplesubmenu " , -- has to be unique
header = ' Submenu Header ' ,
icon = ' icon-class ' ,
color = ' color ' ,
event = " event-name " ,
args = { arg1 , arg2 },
},
},
},
}) إخفاء القائمة المعروضة حاليًا
exports [ ' ps-ui ' ]: HideMenu ()
exports [ ' ps-ui ' ]: StatusShow ( " Title " , " Description " , " icon " ,
{
{ key = " Key1 " , value = " Value1 " },
{ key = " Key2 " , value = " Value2 " },
{ key = " Key3 " , value = " Value3 " }
})
عرض النص بلون محدد
exports [ ' ps-ui ' ]: DisplayText ( " Your text " , " color " )إخفاء النص المعروض حاليا
exports [ ' ps-ui ' ]: HideText ()
عرض نموذج الإدخال وطباعة قيم الإدخال.
local input = exports [ ' ps-ui ' ]: Input ({
{
id = ' 1 ' ,
label = ' Label ' ,
type = " input-type " ,
icon = " icon-class "
},
-- Add more inputs as needed
})
for k , v in pairs ( input ) do
print ( k , v . id , v . value )
end 
يعرض صورة من عنوان URL.
exports [ ' ps-ui ' ]: ShowImage ( " imageURL " )