Jump to content

Saudi Server

Members
  • Posts

    28
  • Joined

  • Last visited

Saudi Server's Achievements

Advanced Member

Advanced Member (8/54)

0

Reputation

  1. heey plz , what is this bash: ./mta-server: Permission denied
  2. thxx man but How to Make Special script for admin ( only admin - no default , moderator , supermoderator )
  3. i deleted dxdrawtext and create Lapel but not work GUIEditor_Label = {} button = guiCreateButton(60,378,80,39,"~ Send !",false) GUIEditor_Label[1] = guiCreateLabel(3,182,203,44,"Admin : ",false) guiLabelSetColor(GUIEditor_Label[1],0,0,120,255) guiLabelSetVerticalAlign(GUIEditor_Label[1],"top") guiLabelSetHorizontalAlign(GUIEditor_Label[1],"left",false) editBox = guiCreateEdit(3,223,204,157,"",false) function outputEditBox () local text = guiGetText ( editBox ) outputChatBox ( text ) end
  4. hello hi guys how output dxDrawText ? and How to Make Special script for admin ( only admin ) button = guiCreateButton(0.075,0.63,0.1,0.065,"~ Send !",true) editBox = guiCreateEdit(0.0037,0.3717,0.255,0.2617,"",true) guiEditSetMaxLength(editBox,9000) function outputEditBox () local text = guiGetText ( editBox ) outputChatBox ( text ) end addEventHandler ( "onClientGUIClick", button, outputEditBox ) addEventHandler("onClientRender",root, function() dxDrawText("Admin : ",9.0,198.0,194.0,241.0,tocolor(0,0,120,255),1.0,"default","left","top",false,false,false) end )
  5. hello pls fix local adminName, message addEvent("Announce",true) function Announce(admin,msg) adminName = getPlayerName(admin) message = msg addEventHandler("onClientRender",getRootElement(),drawAnn) setTimer(function() removeEventHandler("onClientRender",getRootElement(),drawAnn) adminName = nil message = nil end,0,0) end addEventHandler("Announce",getRootElement(),Announce) function drawAnn() local sw,sh = guiGetScreenSize() -- dxDrawText(tostring(message),sw*0.03541,sh*0.35,sw*0.95833,sh*0.41111,tocolor(255,255,0,255),((sw/100)/(sh/100))-0.6,"default-bold","","",false,false,false) -- dxDrawText("ADMIN: "..adminName,sw*0.33472,sh*0.23888,sw*0.65277,sh*0.34777,tocolor(255,0,0,200),((sw/100)/(sh/100))-0.6,"default-bold","","",false,false,false) dxDrawText(tostring(message),sw*0.10000,sh*0.35,sw*0.95833,sh*0.41111,tocolor(255,255,0,255),1,"default","","",false,false,false) dxDrawText("ADMIN:",sw*0.03541,sh*0.35,sw*0.105833,sh*0.41111,tocolor(255,0,0,200),1,"default","","",false,false,false) end
  6. ok thxx man I will never forget kindness
  7. thxx solid But does not appear the mouse pointer and I want it begins with the start server
  8. ^^ where add function closeGUI () if (source == YOUR_GUI_BUTTON_ELEMENT) then guiSetVisible ( YOURGUIWINDOW, false ) end end addEventHandler("onClientGUIClick",YOUR_GUI_BUTTON_ELEMENT,closeGUI,false)
  9. ok code lua : GUIEditor_Window = {} GUIEditor_Button = {} GUIEditor_Image = {} GUIEditor_Window[1] = guiCreateWindow(107,86,630,459,"saudi ! ~",false) GUIEditor_Image[1] = guiCreateStaticImage(67,31,516,380,"",false,GUIEditor_Window[1]) GUIEditor_Button[1] = guiCreateButton(9,395,119,55,"Close",false,GUIEditor_Window[1]) guiSetFont(GUIEditor_Button[1],"clear-normal")
  10. hello how r u pls How to Make button Close works i am created windows , images and button close but not work close ^^ http://img842.imageshack.us/img842/110/98979157.jpg I'm waiting for your help
×
×
  • Create New...