Jump to content

elian sweed

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

elian sweed's Achievements

Vic

Vic (3/54)

0

Reputation

  1. This is my script _________________________________________________________ local screenW, screenH = guiGetScreenSize() function showthepanelwithtime() setTimer ( function() addEventHandler("onClientRender",root,test) end, 2000, 1 ) end addCommandHandler("test1",showthepanelwithtime) function test() dxDrawText("اخلع حزام الامان للنزول", (screenW * 0.0057) - 1, (screenH * 0.4597) - 1, (screenW * 0.1838) - 1, (screenH * 0.5040) - 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) dxDrawText("اخلع حزام الامان للنزول", (screenW * 0.0057) + 1, (screenH * 0.4597) - 1, (screenW * 0.1838) + 1, (screenH * 0.5040) - 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) dxDrawText("اخلع حزام الامان للنزول", (screenW * 0.0057) - 1, (screenH * 0.4597) + 1, (screenW * 0.1838) - 1, (screenH * 0.5040) + 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) dxDrawText("اخلع حزام الامان للنزول", (screenW * 0.0057) + 1, (screenH * 0.4597) + 1, (screenW * 0.1838) + 1, (screenH * 0.5040) + 1, tocolor(0, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) dxDrawText("اخلع حزام الامان للنزول", screenW * 0.0057, screenH * 0.4597, screenW * 0.1838, screenH * 0.5040, tocolor(255, 0, 0, 255), 2.00, "default", "left", "top", true, true, true, true, false) end _________________________________________________________ I need it after 2 seconds to disappear how i do that ?? please someone help me
  2. Hi Busta I mean the player trun on this mod in gui and he can only trun it on for himself only not to all (to fix lag)
  3. hey guys i want help i need to do if player button then start shader resource this is my script --scripted by eliansweed local key = "F5" bindKey(key, "down",function() guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1]) ) showCursor(guiGetVisible(GUIEditor.window[1]) ) end) GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(558, 236, 553, 422, "Resource start by eliansweed", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") guiSetVisible(GUIEditor.window[1],false) GUIEditor.label[1] = guiCreateLabel(22, 39, 212, 51, "water shader", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") GUIEditor.button[1] = guiCreateButton(252, 41, 65, 27, "start", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF32FA04") GUIEditor.button[2] = guiCreateButton(360, 41, 65, 27, "stop", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFD0000") end ) function start() if source == GUIEditor.button[1] then --what i type here to start the mod ? outputChatBox ( "water shader was been startred",255,0,0 ) end end addEventHandler("onClientGUIClick", root , start)
  4. 1-i just need when player join the server appear the time 2- if i didnt restart the mod the time didnt move بما انك عربي بدي اقلك انه الوقت ابيه يطلع لما الاعب يسجل الدخول وكمان الوقت ما يتحرك بللعبة كيف اخليه يتحرك
  5. function hehehe() dxDrawText("Time: "..hours..":"..minutes, 1186, 815, 1344, 860, tocolor(0, 0, 0, 255), 1.50, "default", "center", "center", true, true, true, true, false) dxDrawText("Time: "..hours..":"..minutes, 1186, 813, 1344, 858, tocolor(0, 0, 0, 255), 1.50, "default", "center", "center", true, true, true, true, false) dxDrawText("Time: "..hours..":"..minutes, 1184, 815, 1342, 860, tocolor(0, 0, 0, 255), 1.50, "default", "center", "center", true, true, true, true, false) dxDrawText("Time: "..hours..":"..minutes, 1184, 813, 1342, 858, tocolor(0, 0, 0, 255), 1.50, "default", "center", "center", true, true, true, true, false) dxDrawText("Time: "..hours..":"..minutes, 1185, 814, 1343, 859, tocolor(255, 255, 255, 255), 1.50, "default", "center", "center", true, true, true, true, false) end addEventHandler("onClientRender", root, hehehe) addEventHandler("onClientPlayerJoin", root, hehehe) time = getRealTime() hours = time.hour minutes = time.minute seconds = time.second How to make on client join show the dxDrawText and how to make the Time moves and thank you very much
×
×
  • Create New...