xXMADEXx
Members-
Posts
2,718 -
Joined
-
Last visited
Everything posted by xXMADEXx
-
Stolen: https://community.multitheftauto.com/index.php?p= ... ls&id=7772 Original: https://community.multitheftauto.com/index.php?p= ... ls&id=5011 DONE
-
guiGetScreenSize ( )
-
I don't understand your problem...
-
Could be something like this: setTimer ( function ( ) exports['topbarchat']:sendClientMessage ( "My Message.", root, 255, 255, 255 ) end, 60*5*1000, 0 )
-
Go to the bottom of mtaserver.config, and you'll find the startup list. Example: <resource src="MyResource" startup="1" protected="0" />
-
We don't give support for leaked scripts.
-
check to make sure that 'car' returns an element and not a bool.
-
What do you mean by 'cutsscenes?' Like from a movie?
-
Sounds good that someone has finally decided to finish it good luck.
-
What? Of what gamemode... ?
-
Its nearly a fact you won't find an experienced scripter who will make a full gamemode for free.
-
As in like play senses from a movie? You need to convert the video file to a bunch of .png (or .jpg) and use this function: dxDrawGifImage.
-
This isn't a request page, but you can check the mta community.
-
Use: getElementHealth guiProgressBarSetProgress
-
onClientRender - Use to update the position getScreenFromWorldPosition - To make attached to peds getElementPosition - To get the ped & localPlayer position
-
try: ((Not tested)) function attach( thePlayer ) local v = getPedOccupiedVehicle( localPlayer); local x, y, z = getElementPosition( localPlayer); local theTrailer = createVehicle( 450, x, y, z+15 ); --+15 attachTrailerToVehicle( v, theTrailer ); end addCommandHandler("attc", attach) Please remember, Lua is very case-sensitive.
-
Search them here: memberlist.php?mode=searchuser (You can use www.mtamarket.com for Castillo )
-
Correction: DaKilla Sebas aka GreenHood Castillo aka SolidSnake Mabako -- not sure if he is still active 50p xXMADEXx (These are all paid scripters. Mostly only people who are new to Lua and are trying to get practice will make free scripts.) Ehmm... I'm not sure about the last one. He seems alittle odd... Adding himself to a list of good scripters. You dont say you're good, people do. Else only my name would be in there. :lol: just kidding, I suck Only matters what you think about your self
-
((Not Tested)) -- this will create the xml file in which info will be holded. addEventHandler ("onResourceStart", getResourceRootElement (getThisResource ()), function () local fileInfo = xmlCreateFile ("unbaninfo.xml", "info"); assert (fileInfo, "Fail to create xml file"); xmlSaveFile (fileInfo); xmlUnloadFile (fileInfo); end); -- this will save info about the player who connects to the server. addEventHandler ("onUnban", getRootElement (), function ( theBan, responsibleElement ) -- get player info. if responsibleElement and getElementType( responsibleElement ) == 'player' then local name = getPlayerName( responsibleElement ); local whounban = getBanSerial(theBan) or getBanIP(theBan) -- open the file local fileInfo = xmlOpenFile ("unbaninfo.xml"); -- create a new node for this player. local node = xmlCreateChild (fileInfo, "player"); -- save info. xmlNodeSetAttribute (node, "name", name); xmlNodeSetAttribute (node, "whounban", whounban); xmlSaveFile (fileInfo); -- this will save all the changes done in the file. xmlUnloadFile (fileInfo); -- close file handle. end end);
-
Correction: DaKilla Sebas aka GreenHood Castillo aka SolidSnake Mabako -- not sure if he is still active 50p xXMADEXx (These are all paid scripters. Mostly only people who are new to Lua and are trying to get practice will make free scripts.)
-
I don't understand... Are you trying to log unbans?
-
Well, here is an example for center screen: local sx, sy = guiGetScreenSize ( ) local width = 400 local height = 200 local x = ( sx / 2 - width / 2 ) local y = ( sy / 2 - height / 2 ) addEventHandler ( "onClientRender", root, function ( ) dxDrawRectangle ( x, y, width, height ) end ) Its just basic math.
-
I like both VorteServers & Gta-servers.
-
Yea, however now MTA haves default mta functions so you don't need the modules.
