GUIEditor_TabPanel[1] = guiCreateTabPanel(9,19,495,406,false,GUIEditor_Window[1])
GUIEditor_Tab[1] = guiCreateTab("معلومات",GUIEditor_TabPanel[1])
GUIEditor_Image[1] = guiCreateStaticImage(3,0,490,380,"kartha/Tap1.png",false,GUIEditor_Tab[1])
GUIEditor_Label[1] = guiCreateLabel(2,188,487,24,"شوب ريس مستر الكارثه الاصدار الاول اصدار عربي ",false,GUIEditor_Image[1])
guiSetFont(GUIEditor_Label[1],"default-bold-small")
GUIEditor_Label[2] = guiCreateLabel(38,240,419,31,"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",false,GUIEditor_Image[1])
guiSetFont(GUIEditor_Label[2],"sa-gothic")
GUIEditor_Label[3] = guiCreateLabel(143,-170,5,5,"",false,GUIEditor_Label[2])
GUIEditor_Label[4] = guiCreateLabel(3,256,485,23,"",false,GUIEditor_Image[1])
GUIEditor_Label[5] = guiCreateLabel(3,278,484,21,"",false,GUIEditor_Image[1])
GUIEditor_Label[6] = guiCreateLabel(4,292,485,19,"",false,GUIEditor_Image[1])
GUIEditor_Label[7] = guiCreateLabel(4,304,485,21,"",false,GUIEditor_Image[1])
GUIEditor_Label[8] = guiCreateLabel(4,321,483,21,"",false,GUIEditor_Image[1])
GUIEditor_Tab[2] = guiCreateTab("الشوب",GUIEditor_TabPanel[1])
GUIEditor_Image[2] = guiCreateStaticImage(2,1,492,379,"kartha/Tap1.png",false,GUIEditor_Tab[2])
GUIEditor_Image[3] = guiCreateStaticImage(6,191,108,104,"kartha/!Repair.png",false,GUIEditor_Image[2])
GUIEditor_Image[4] = guiCreateStaticImage(121,191,115,104,"kartha/!Nitro.png",false,GUIEditor_Image[2])
GUIEditor_Image[5] = guiCreateStaticImage(249,190,115,103,"kartha/!Invisible.png",false,GUIEditor_Image[2])
GUIEditor_Image[6] = guiCreateStaticImage(384,196,97,95,"kartha/!Flip.png",false,GUIEditor_Image[2])
GUIEditor_Button[1] = guiCreateButton(10,290,98,23,"اصلاح السياره",false,GUIEditor_Image[2])
GUIEditor_Button[2] = guiCreateButton(128,288,96,22,"نيترو السياره",false,GUIEditor_Image[2])
GUIEditor_Button[3] = guiCreateButton(256,287,96,22,"اخفاء السياره",false,GUIEditor_Image[2])
GUIEditor_Button[4] = guiCreateButton(384,286,96,22,"تعديل السياره",false,GUIEditor_Image[2])
GUIEditor_Tab[3] = guiCreateTab("حول",GUIEditor_TabPanel[1])
GUIEditor_Image[7] = guiCreateStaticImage(3,0,490,380,"kartha/Tap3.png",false,GUIEditor_Tab[3])
GUIEditor_Label[9] = guiCreateLabel(31,21,422,23,"حياكم الله في السيرفر ",false,GUIEditor_Image[7])
guiSetFont(GUIEditor_Label[9],"default-bold-small")
GUIEditor_Label[10] = guiCreateLabel(66,56,384,21,"تم صناعة الشوب من قبل مستر الكارثه ",false,GUIEditor_Image[7])
guiSetFont(GUIEditor_Label[10],"default-bold-small")
GUIEditor_Label[11] = guiCreateLabel(67,91,384,21,"للتواصل على المسن :
[email protected] ",false,GUIEditor_Image[7])
guiSetFont(GUIEditor_Label[11],"default-bold-small")
GUIEditor_Label[12] = guiCreateLabel(64,121,384,21,"جميع الحقوق محفوظه لدى ـ مستر الكارثه ",false,GUIEditor_Image[7])
guiSetFont(GUIEditor_Label[12],"default-bold-small")
guiSetVisible (GUIEditor_Window[1], false)
function informationFromPlayer ()
if(guiGetVisible(GUIEditor_Window[1])~=false)then
guiSetText(GUIEditor_Label[3],"Your Name: "..getPlayerName(localPlayer))
guiSetText(GUIEditor_Label[4],"Your Money: "..getPlayerMoney(localPlayer))
guiSetText(GUIEditor_Label[5],"Your Serial: "..getPlayerSerial(localPlayer))
guiSetText(GUIEditor_Label[6],"Your Skin: "..getPlayerSkin(localPlayer))
guiSetText (GUIEditor_Label[7],"Your Ping: "..getPlayerPing(localPlayer))
end
addEvent("settingText",true)
addEventHandler("settingText",root,
function(ip)
guiSetText(GUIEditor_Label[8],"Your IP :" .. ip)
end)
addEventHandler ("onClientGUIClick", getRootElement(),
function(button, state, absoluteX, absoluteY)
if ( source == GUIEditor_Button[1] ) then
triggerServerEvent("buyRepair",getLocalPlayer())
end
end
)
addEventHandler ("onClientGUIClick", getRootElement(),
function(button, state, absoluteX, absoluteY)
if ( source == GUIEditor_Button[4] ) then
triggerServerEvent("buyFlip",getLocalPlayer())
end
end
)
addEventHandler ("onClientGUIClick", getRootElement(),
function(button, state, absoluteX, absoluteY)
if ( source == GUIEditor_Button[2] ) then
triggerServerEvent("buyNitro",getLocalPlayer())
end
end
)
addEventHandler ("onClientGUIClick", getRootElement(),
function(button, state, absoluteX, absoluteY)
if ( source == GUIEditor_Button[3] ) then
triggerServerEvent("buyInvisible",getLocalPlayer())
end
end
)
bindKey ( "F2" , "down" , function()
if ( guiGetVisible ( GUIEditor_Window[1] ) == true ) then
guiSetVisible ( GUIEditor_Window[1] ,false )
showCursor (false )
guiSetInputEnabled(false)
elseif ( guiGetVisible ( GUIEditor_Window[1] ) == false ) then
guiSetVisible ( GUIEditor_Window[1] ,true )
showCursor (false )
guiSetInputEnabled(true)
playSound("kartha/kartha.mp3")
end
end
)
outputChatBox("#ff0000x|#ffff00 [F2]~~لفتح شوب الريس اضغط على IT #ff0000|x",0,255,0,true)
guiSetProperty(GUIEditor_Button[1],"NormalTextColour", "FFFFF000")
guiSetProperty(GUIEditor_Button[2],"NormalTextColour", "FFFFF000")
guiSetProperty(GUIEditor_Button[3],"NormalTextColour", "FFFFF000")
guiSetProperty(GUIEditor_Button[4],"NormalTextColour", "FFFFF000")
guiLabelSetColor(GUIEditor_Label[1],0,0,225)
guiLabelSetColor(GUIEditor_Label[2],0,0,225)
guiLabelSetColor(GUIEditor_Label[4],0,0,225)
guiLabelSetColor(GUIEditor_Label[5],0,0,225)
guiLabelSetColor(GUIEditor_Label[6],0,0,225)
guiLabelSetColor(GUIEditor_Label[7],0,0,225)
end
ماجربته