Jump to content

xXMADEXx

Members
  • Posts

    2,718
  • Joined

  • Last visited

Everything posted by xXMADEXx

  1. 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 )
  2. xXMADEXx

    1.4 Beta Release

    Absolutely fantastic! Great job MTA Team!
  3. Post the code that you use for dbConnect.
  4. You use callRemote and the PHP SDK. Check this resource: https://community.multitheftauto.com/index.php?p= ... ls&id=3120
  5. 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.
  6. 1. Download the server @ https://nightly.multitheftauto.com/ 2. setGameType
  7. 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
  8. https://scontent-a-sea.xx.fbcdn.net/hph ... e=542A6FED
  9. xXMADEXx

    Mtasa Font

    Try bankgothic.
  10. 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
  11. xXMADEXx

    Help PLs

    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.
  12. You can check how I did it in this: https://community.multitheftauto.com/index.php?p= ... ls&id=8367
  13. xXMADEXx

    Mtasa Font

    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)
  14. xXMADEXx

    TCAdmin - help

    Did you port forward?
  15. You can disable access to them in acl.xml
  16. xXMADEXx

    Help Me

    Replace that with this: if ( price <= getPlayerMoney ( source ) ) then
  17. 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
  18. Yes, but unfortunately it won't be here for a while. It's scheduled to be here in 1.4.
  19. 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.
  20. xXMADEXx

    [Question]

    Yes, you can use the onPlayerPrivateMessage and log it somewhere.
  21. Alright, thanks. You guys answered my questions, I figured because it was fast and lightweight but I wasn't sure.
  22. xXMADEXx

    Web thinga....

    I'm a web developer, but I am an absolutely horrible web designer .-.
  23. Thanks, this actually helped a lot in trying to see how they're written.
  24. 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
×
×
  • Create New...