
xXMADEXx
Members-
Posts
2,718 -
Joined
-
Last visited
Everything posted by xXMADEXx
-
Yes.. Here is a little example that I made local g = guiCreateGridList ( 0, 0, 100, 100, false ) guiGridListAddColumn ( g, "Column", 1 ) for i=1, 100 do local r = guiGridListAddRow ( g ) guiGridListSetItemText ( g, r, 1, tostring ( i ), false, false ) end addEventHandler ( "onClientGUIClick", g, function ( ) local r, c = guiGridListGetSelectedItem ( source ) outputChatBox ( "You selected ".. tostring ( guiGridListGetItemText ( g, r, 1 ) ) ) end )
-
Absolutely fantastic! Great job MTA Team!
-
Post the code that you use for dbConnect.
-
You use callRemote and the PHP SDK. Check this resource: https://community.multitheftauto.com/index.php?p= ... ls&id=3120
-
It means you shouldn't trust community resources that are compiled. Some "bad" people will put hidden commands in the scripts, and use them to get free money or spawn vehicles, or whatever it is that the backdoor allows them to do.
-
1. Download the server @ https://nightly.multitheftauto.com/ 2. setGameType
-
You can use something like this: function runaString ( str ) local len = str:len ( ) for i=0, len-1 do local c = str:sub ( i, i ) -- c = the char end end
-
https://scontent-a-sea.xx.fbcdn.net/hph ... e=542A6FED
-
Well of course adventively it'll be here, but it will take time. Edit: The MTA 1.4 beta release was released on June 21st
-
GetLocalPlayer isn't a globally defined variable by MTA. Not only that, but the localPlayer (also getLocalPlayer() ) which I assume is what you're trying to do is only for the client side.
-
You can check how I did it in this: https://community.multitheftauto.com/index.php?p= ... ls&id=8367
-
The font from what part? Can you take a snapshot of the part of the font and post it please. (the only font I saw was the "pricedown" font)
-
You can disable access to them in acl.xml
-
Replace that with this: if ( price <= getPlayerMoney ( source ) ) then
-
How about you try adding it yourself? This is the function that I use function dxDrawBoarderedText ( text, x, y, endX, endY, color, size, font, alignX, alignY, clip, wordBreak, postGUI, colorCode, subPixelPos, fRot, fRotCX, fRotCY, offSet ) local text = tostring ( text ) local x = tonumber(x) or 0 local y = tonumber(y) or 0 local endX = tonumber(endX) or x local endY = tonumber(endY) or y local color = color or tocolor ( 255, 255, 255, 255 ) local size = tonumber(size) or 1 local font = font or "default" local alignX = alignX or "left" local alignY = alignY or "top" local clip = clip or false local wordBreak = wordBreak or false local postGUI = postGUI or false local colorCode = colorCode or false local subPixelPos = subPixelPos or false local fRot = tonumber(fRot) or 0 local fRotCX = tonumber(fRotCX) or 0 local fRotCY = tonumber(fRotCy) or 0 local offSet = tonumber(offSet) or 1 local t_g = text:gsub ( "#%x%x%x%x%x%x", "" ) dxDrawText ( t_g, x-offSet, y-offSet, endX, endY, tocolor(0,0,0,255), size, font, alignX, alignY, clip, wordBreak, postGUI, colorCode, subPixelPos, fRot, fRotCX, fRotCY, offSet ) dxDrawText ( t_g, x-offSet, y, endX, endY, tocolor(0,0,0,255), size, font, alignX, alignY, clip, wordBreak, postGUI, colorCode, subPixelPos, fRot, fRotCX, fRotCY, offSet ) dxDrawText ( t_g, x, y-offSet, endX, endY, tocolor(0,0,0,255), size, font, alignX, alignY, clip, wordBreak, postGUI, colorCode, subPixelPos, fRot, fRotCX, fRotCY, offSet ) dxDrawText ( t_g, x+offSet, y+offSet, endX, endY, tocolor(0,0,0,255), size, font, alignX, alignY, clip, wordBreak, postGUI, colorCode, subPixelPos, fRot, fRotCX, fRotCY, offSet ) dxDrawText ( t_g, x+offSet, y, endX, endY, tocolor(0,0,0,255), size, font, alignX, alignY, clip, wordBreak, postGUI, colorCode, subPixelPos, fRot, fRotCX, fRotCY, offSet ) dxDrawText ( t_g, x, y+offSet, endX, endY, tocolor(0,0,0,255), size, font, alignX, alignY, clip, wordBreak, postGUI, colorCode, subPixelPos, fRot, fRotCX, fRotCY, offSet ) return dxDrawText ( text, x, y, endX, endY, color, size, font, alignX, alignY, clip, wordBreak, postGUI, colorCode, subPixelPos, fRot, fRotCX, fRotCY, offSet ) end
-
Yes, but unfortunately it won't be here for a while. It's scheduled to be here in 1.4.
-
Thank you, but I ask that you please do not do this (at least for me), because it may make other think that I think I'm better than them, and I'm not.
-
Yes, you can use the onPlayerPrivateMessage and log it somewhere.
-
Alright, thanks. You guys answered my questions, I figured because it was fast and lightweight but I wasn't sure.
-
I'm a web developer, but I am an absolutely horrible web designer .-.
-
Thanks, this actually helped a lot in trying to see how they're written.
-
Thanks, I appreciate it very much. Yea, this comment really helped me because I wasn't sure if people like the videos or the worded tutorials more, but I got tired of writing them so I decided to try out the videos. Thanks so much for your reply, and thanks again for noticing my birthday