-
Posts
1,283 -
Joined
-
Last visited
Everything posted by manve1
-
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.
-
use: createMarker onMarkerHit onMarkerLeave that will fix it
-
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..
-
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.
-
PM people that are PRO scripters, like Solidsnake14 ect.. they accept making scripts only for fair price, and your price is fair
-
Everything to do with GUI's will be client side...
-
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)
-
Nope, still everywhere i click it closes it.
-
i did... didn't find it. EDIT: Ur solution didn't work
-
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)
-
Start a resource at a specific game hour - QUESTION
manve1 replied to xXNemesiSXx's topic in Scripting
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. -
Start a resource at a specific game hour - QUESTION
manve1 replied to xXNemesiSXx's topic in Scripting
use: setTimer -
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...
-
You need to know how to fix MySql, there is few problems in it...when fixed, it works
-
use: aclGetGroup PS. Click on "aclGetGroup" for function. EDIT: do the "aclGetGroup" on top of the whole script.
-
use lua codes. PS. sorry... i haven't done anything like it... so i don't know how to fix it.
-
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
-
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
-
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
-
click on the quoted "playSound" and just read you will understand after sometime