dragonofdark
Members-
Posts
203 -
Joined
-
Last visited
Everything posted by dragonofdark
-
Les serveurs RP sont toujours en développement. Mais il y a quelques serveurs français dans le serveur, faut bien chercher !
-
Bienvenue à toi
-
Comme a dit Yoshi, tu vas avoir (très) difficile de trouver quelqu'un qui veuille te scripter un serveur complet. Le nombre de scripteurs francophones est très réduit sur MTA et la plupart ont déjà leur projet. De plus, bonne chance pour trouver quelqu'un qui fait ça gratos ! Le meilleur moyen est de le faire par toi même (même si ça prend des années).
-
Dans les or "", tu dois mettre la même chose que dans les get ("").
-
Est-ce que tu lances la ressource "SQL" avant les autres ?
-
Si quelqu'un peut te répondre, il le fera. Pas besoin de relancer le sujet..
-
Will add it
-
Thank you, castillo Everything works perfectly now.
-
Sorry for the double posting, but I found another problem. When someone do the command when the lights are already effective, the old lights stop to flash and the new have 2 "setTimer" (the old and the new). Is that problem related to these tables ? It should normaly keep the old flashing and create others without interfering, no ?
-
Okay, will remember this tip
-
Works perfectly ! Did the flash functions inside the main funtion caused the problem ?
-
function startLights( player, cmd ) local vehicle = getPedOccupiedVehicle(player) local x,y,z = getElementPosition( vehicle ) obj1 = createObject(2710,x,y,z) attachElements(obj1,vehicle,0.5,0.7,1.19) obj2 = createObject(2710,x,y,z) attachElements(obj2,vehicle,-0.5,0.7,1.19) lit1 = createMarker(x,y,z,"corona",0.25,0,0,255,0) attachElements(lit1, obj1, 0, 0, 0.1) lit2 = createMarker(x,y,z,"corona",0.25,0,0,255,0) attachElements(lit2, obj2, 0, 0, 0.1) local random1 = math.random(50,300) local random2 = math.random(50,300) setTimer( flash1, random1, 0 ) setTimer( flash2, random2, 0 ) function flash1() setMarkerColor(lit1, 0, 0, 255, 200) setTimer( setMarkerColor, 50, 1, lit1, 0, 0, 0, 0) end function flash2() setMarkerColor(lit2, 0, 0, 255, 200) setTimer( setMarkerColor, 50, 1, lit2, 0, 0, 0, 0) end end addCommandHandler ( "light", startLights)
-
Hey, I'm making some scripts but I'm blocked at one. I make a function to create 2 lights which flash randomly. Here the code part which I have an error : local random1 = math.random(50,300) local random2 = math.random(50,300) setTimer( flash1, random1, 0 ) setTimer( flash2, random2, 0 ) I have this error for the 2 "setTimer": Bad argument @ 'setTimer' [Expected function at argument 1, got nil] Where did I make a mistake ? Thanks.
-
MTA:SA FTW !!! I love the next functions, need it a lot..
-
You should open a tread so
-
You need the mta_mysql.so (the .dll things are build for windows and .so for linux) btw, great news !
-
[REL] ModLoader 1.0 - Loads any mod without scripting!
dragonofdark replied to Deltanic's topic in Resources
No. Paintjobs and upgrades are visual effects not handling thing. Shit.. Through that was the handling editor topic -
MODULE: Unable to find modules/mta_mysql.dll!
dragonofdark replied to dragonofdark's question in Server
The mta_mysql.dll problem is now resolved : Just downloaded the MSVCP71.dll thing. But I've still a module which doesn't load : MODULE: Unable to find modules/ml_sockets.dll! -
MODULE: Unable to find modules/mta_mysql.dll!
dragonofdark replied to dragonofdark's question in Server
I haven't got any "run as administrator" as I'm under XP. But I forget to say that I have also a message which says me "MSVCP71.dll was not found". Before I was on W7, do you think that could be that the problem ? -
Hello, There are 3weeks ago, I had a problem with my computer and I had to reinstall windows. I have bothered to make a backup of my "server" directory. Today, I wanted to reinstall my server. So I deleted the original server directory and put mine. The problem is that now I have this error when I start the server : MODULE: Unable to find modules/mta_mysql.dll! I can't find out why it says that, since it is exactly the same copy as before I reinstall windows. I tested with the mta-paradise gamemode too and it says the same error.
-
Issue with dxDrawImage postGUI and guiCreateStaticImage
dragonofdark replied to dragonofdark's topic in Scripting
Thanks BinSlayer1, it works great. -
Hello, I'm seeing how analog speedometers work to make mine but I saw that the postGUI parameter with dxDrawImage doesn't seem to work. In fact, I created an image with guiCreateStaticImage then I created my needle with dxDrawImage. I put "true" for the postGUI parameter. But the needle is behind the image. Thanks
-
Poste ton script, on ne peut pas le deviner...
-
Could be great with particles, will test when I'll got new PC.
-
Hello, My question would be interesting for some members on this forum. I would like that if any fire is created (by explosion, weapon or script), it become more and more bigger every X seconds, and when it become bigger, it goes on the right path (it goes upper if it touch a building). I can't find out how to see if any fire is created. Thank.
