Jump to content

manve1

Retired Staff
  • Posts

    1,283
  • Joined

  • Last visited

Everything posted by manve1

  1. manve1

    Unstable fire

    When i create fire ( using: createFire ) my fire is unstable, i only want the fire at the destination i want and it to be stable and to not spread or burn stuff... can anyone help? Because when i start resource, my fire spawns, then it just starts burning stuff which shouldn't be burned, im using the script for DM race map and the problem will be is that when someone drives through there they will burn.
  2. use: createMarker onMarkerHit onMarkerLeave that will fix it
  3. manve1

    Why dont work?

    thats not the whole script.... it has got other pictures too... but this dont work.. and never others for same problem.. and idk what the problem is.. EDIT: Thanx solidsnake, it worked, other one didnt..
  4. hey guys, im trying to make a script.. and when i click on Button ( image ) it does nothing... here is LUA CLIENT: gui = guiCreateStaticImage(0,0,1,1,"images/gui.png", true) showCursor(true) army = guiCreateStaticImage( 20, 20, 100, 70, "images/army.png", false, gui ) function army() if (source == army) then setElementModel(getLocalPlayer(), 287) guiSetVisible(gui, false) showCursor(false) end end addEventHandler("onClientGUIClick", getRootElement(), army) i have no Server side cuz for this script i dont need it... i tihnk that.. PLEASE HELP ME, Thank you.
  5. PM people that are PRO scripters, like Solidsnake14 ect.. they accept making scripts only for fair price, and your price is fair
  6. Everything to do with GUI's will be client side...
  7. manve1

    Need help

    I found a way. Thx still for helping.
  8. manve1

    Need help

    Thx, it shortened my script, but only one problem, when i press it again, it doesn't make the same size as it was before. or when i close it and open it again, it is still maximized. EDIT: i use math.random cuz it said in wiki
  9. manve1

    Need help

    Hey, i made a simple script of maximizing GUI i got, but when i maximize, it doesn't minimize when i close it or when i press button again, please help me. function maximize() guiSetSize ( gui, ( math.random( 10, 50 ) * 100 ), ( math.random( 10, 50 ) * 100 ), true ) end addEventHandler("onClientGUIClick", button_maximize, maximize)
  10. manve1

    please help

    Thx, now it works 100%
  11. manve1

    please help

    Nope, still everywhere i click it closes it.
  12. manve1

    please help

    it now doesn't even close it...
  13. manve1

    please help

    i did... didn't find it. EDIT: Ur solution didn't work
  14. manve1

    please help

    Everywhere i click on my GUI, it closes it, and idk whats the problem with the script: CLIENT: gui = guiCreateStaticImage(0,0,0.6,0.593,"images/gui.png", true) button_exit = guiCreateStaticImage(0.93,0.015,0.05,0.05,"images/exit.png",true,gui) button_maximize = guiCreateStaticImage(0.87,0.015,0.05,0.05,"images/maximize.png",true,gui) button_minimize = guiCreateStaticImage(0.81,0.015,0.05,0.05,"images/minimize.png",true,gui) button_house = guiCreateStaticImage(0.02,0.015,0.212,0.049,"images/house.png",true,gui) function showGUI2() guiSetVisible(gui,true) showCursor(true) end addEvent("showGUI2",true) addEventHandler("showGUI2", getRootElement(), showGUI2) function hideGUI2() if (button_exit) then guiSetVisible (gui,false) showCursor(false) end end addEvent("hideGUI2",true) addEventHandler("hideGUI2", getRootElement(), hideGUI2) addEventHandler("onClientGUIClick", getRootElement(), hideGUI2) SERVER: marker1 = createMarker(1969.2709960938,-2186.6633300781,12.5,"cylinder",1.5,255,0,255,255) function showGUI(hitPlayer) triggerClientEvent (hitPlayer,"showGUI2",getRootElement(),hitPlayer) end addEventHandler ("onMarkerHit",marker1,showGUI)
  15. Erm... this is for chatbox that is used by timer. function output() outputChatBox("text",player,255,0,255) end setTimer( output, 10000, 0 ) -- the "0" is for unlimited times, use that...the 10k is 10seconds.."output" is the function that u set timer for. it outputs the "text" every 10seconds. P.S. This script is simple and is to show how to use timer, im not making any scripts, such as zombie gameplay.
  16. go here: C:\Program Files\MTA San Andreas 1.3\server\mods\deathmatch\resources\[editor] and find editor zipped folder. edit whole bugs that you get when you do in server "/debugscript 3" that fixed mine...
  17. You need to know how to fix MySql, there is few problems in it...when fixed, it works
  18. manve1

    [HELP] Here

    Always happy to help.
  19. manve1

    [HELP] Here

    use: aclGetGroup PS. Click on "aclGetGroup" for function. EDIT: do the "aclGetGroup" on top of the whole script.
  20. use lua codes. PS. sorry... i haven't done anything like it... so i don't know how to fix it.
  21. or keep the 2 lines ( 1. - 2. ) in server side but just copy and change them to this: --{[**********RRRRRRRBBBBBBB***********]} --{http://www.expertgamerz.clan.su << download script here } if that dont work do this: ----[**********RRRRRRRBBBBBBB***********] -----http://www.expertgamerz.clan.su << download script here
  22. We are here not to make scripts for people but to help them with their made ones, go to mta wiki and try learn LUA
  23. manve1

    Please help

    Everything is working... only thing is that idk how to make that when player selects skin ID on grid list then presses button "use" to get the skin ID he selected as his model
  24. click on the quoted "playSound" and just read you will understand after sometime
×
×
  • Create New...