xXMADEXx
Members-
Posts
2,718 -
Joined
-
Last visited
Everything posted by xXMADEXx
-
number = exports.sql:query_insertid( "INSERT INTO phones VALUES ()" ); you didn't put anything in for 'VALUES.'
-
Hi MTA developers/players. I think that it'll be a good idea to let server owners pay so that they can get their server name in color just so that it stands out. For example, say I wanted a yellow server name, i'd pay oh say $5 and get my server name in yellow for like a week or so. Let me know what you think!
-
He is logging in with the account "Console." not "Console"
-
Little more information can only do you some good.
-
It just looks like the race Gamemode with a custom map..
-
Good luck... If you need any help, check my signature.
-
If you are trying to edit an account data, it'll just be easier to use setAccountData.
-
Instead of having all differant events, i'd recommend having something like this: function fN ( ) if ( source == Select5 and isPedOnGround ( localPlayer ) ) then local row, col = guiGridListGetSelectedItem ( AnimationGRID ) if ( row ~= -1 and col ~= 0 ) then local t = guiGridListGetItemText ( row, 1 ) local t2 = string.lower ( t:gsub ( " ", "" ) ) triggerServerEvent ( "onClientChangeAnimation", localPlayer, t2 ) end end end
-
Oh my god people, it isn't that hard for him to search community.
-
Hello everyone. I have just found what looks like a bug but I could be wrong... For some reason when I use dxDrawText, the text alignment (Left/Center/Right/Top/Bottom) seems to be off. If I put it to "right" it goes to the left of the screen.. If I put it to "center" it goes to the center of the screen, and if I put it to "left" it goes to where it is being created. Any solutions? Code: dxDrawRectangle ( sx-280, data.dd.y, 250, 132, tocolor ( 0, 0, 0, 200 ), true ) dxDrawLinedRectangle ( sx-280, data.dd.y, 250, 132, tocolor ( 255, 255, 255, 200 ), 1, true ) dxDrawText ( "Click to play the\n'DD' Gamemode!", sx - 260, data.dd.y + 20, 250, 132, tocolor ( 255, 255, 255, 255 ), 1.3, 'default', 'left', 'top', false, false, true ) Screens:
-
You need to make another argument for the "music" function.
-
Usted debe publicar en la sección española.
-
MTA Does support css. You can just call the elements, you just can't give special tags to them. You can just call some of the gui functions. Alot of big servers are using css files to create a nice and smooth looking GUI login screen ( yeah, a GUI. Not DxDraw ) and just use css to make them look awesome. Do explain me how it works. Never saw an update about CSS support on MTA. Im guessing it haves to be remotely called or something https://forum.multitheftauto.com/viewtopic.php?f=102&t=31609 From the looks of it, the JavaScript returns the GUI elements.
-
You can get the default MTA resources @ http://revolution-of-scripting.com/?page=tools -- The bottom link.
-
You could use something like this: function getRandomRought ( ) local x = math.random ( 0, 100 ) return x < 50 end
-
x: (where x is not one of the magic characters ^$()%.[]*+-?) represents the character x itself. .: (a dot) represents all characters. %a: represents all letters. %c: represents all control characters. %d: represents all digits. %l: represents all lowercase letters. %p: represents all punctuation characters. %s: represents all space characters. %u: represents all uppercase letters. %w: represents all alphanumeric characters. %x: represents all hexadecimal digits. %z: represents the character with representation 0. %x: (where x is any non-alphanumeric character) represents the character x. This is the standard way to escape the magic characters. Any punctuation character (even the non magic) can be preceded by a '%' when used to represent itself in a pattern. You could just use %d.
-
Ah now that I look more carefully at it I guess it could be a tab panel. Looked like a window at first sight..
-
MTA doesn't support css. CSS is for HTML, not Lua. However, you can just put that dx resource on your server and export the dx functions.
-
oh its an added function ^__^ Thanks.
-
Hi guys. Does anyone happen to know the event that is triggred when a Hydra is shot? Thanks.
