Jump to content

Krons

Members
  • Posts

    29
  • Joined

  • Last visited

1 Follower

Details

  • Gang
    [ROU]
  • Location
    România
  • Occupation
    Chilling down
  • Interests
    Beautiful girls

Recent Profile Visitors

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

Krons's Achievements

Advanced Member

Advanced Member (8/54)

0

Reputation

  1. @Dimos7 I tried that before/after you told me, ty for help but it's not working like that, anyway I think I fixed it.
  2. I think I should try to use only one rezolution like width everywhere even on height.
  3. @LilDawage not working man.
  4. Hello, I made a script in dx that is something like a square, the problem is that i made it on my resolution(1280x1024) where looks fine, but on other resolution will not be a square anymore. What I want is the dx to look like a square on all resolutions. local x, y = guiGetScreenSize() dxDrawImage(x * 0.2891, y * 0.2891, x * 0.4227, y * 0.4229, ":electric/circuitBoard.png", 0, 0, 0, tocolor(255, 255, 255, 255), false) This is how it looks for my resolution: and this is how it looks on other resolution:
  5. Write your opinion below in comments.I am curious
  6. Use those functions setTimer( function() theVeh = getPedOccupiedVehicle(localPlayer) x, y, z = getVehicleComponentPosition( theVeh, "component") rx, ry, rz = getVehicleComponentRotation(theVeh, "component" ) setVehicleComponentPosition( theVeh, "component", x, y+0.01, z-0.01 ) end, 50, 10) You need to use coords with + and - to make it move while timer is on .
  7. Still not working , works only to set them false , but not to set them true ... Well i fixed it by creating a function , adding gui elements into it and handling it onclientguiclicked , ty anyway for help.
  8. Hello , i am working on a login panel but i cant make the gui to set visible on gui button is cliecked.No errors in debug Here's the code GUIEditor = { checkbox = {}, staticimage = {}, label = {}, button = {}, memo = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.button[1] = guiCreateButton(0.45, 0.71, 0.10, 0.03, "Play", false) GUIEditor.label[1] = guiCreateLabel(0.41, 0.68, 0.05, 0.03, "Save", false) GUIEditor.checkbox[1] = guiCreateCheckBox(0.39, 0.68, 0.01, 0.02, "", false, false) GUIEditor.memo[1] = guiCreateMemo(0.39, 0.64, 0.22, 0.03, "Password", false) GUIEditor.memo[2] = guiCreateMemo(0.39, 0.60, 0.22, 0.03, "Username", false) GUIEditor.staticimage[1] = guiCreateStaticImage(0.27, 0.40, 0.46, 0.15, ":guieditor/images/examples/KRONSLOGOGOOD.png", true) GUIEditor.button[3] = guiCreateButton(0.2656, 0.5547, 0.10, 0.03, "Play", true) guiSetAlpha ( GUIEditor.button[3], 1 ) end ) local screenW, screenH = guiGetScreenSize() addEventHandler("onClientGUIClick",root,function() if source == GUIEditor.button[3] then guiSetVisible(GUIEditor.button[1],true) guiSetVisible(GUIEditor.label[1],true) guiSetVisible(GUIEditor.checkbox[1],true) guiSetVisible(GUIEditor.memo[1],true) guiSetVisible(GUIEditor.memo[2],true) end end)
  9. Krons

    Texturi

    Iei un modloader , si pui numele pe texturi ca cele originale...
  10. Krons

    Texturi

    Sau face un script cu shader , si le baga usor in game , si isi editeaza in mai multe moduri , dar e mai greu.
  11. Krons

    Texturi

    Da-mi aici tot scriptul , il editez si ti-l trimit.
  12. Krons

    Texturi

    Sigur ai creat un folder numit files si ai pus fisierele in el?
×
×
  • Create New...