Jump to content

Cadu12

Retired Staff
  • Posts

    827
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Cadu12

  1. Cadu12

    MTA Paradise.

    000webhost is not working.
  2. Cadu12

    Batch question

    Did you bump? Take a look date
  3. Just go learn PHP and JQuery...? I tinhk anyone does have time to do for you. Im still making my own site using PHP and JQuery like MegaUpload or/and RapidShare.
  4. function outputBox( s, nMax ) if type( s ) == 'string' and type( nMax ) == 'number' then local nMaxOld = nMax local nLength = #s if nLength >= nMax then local sNew = '' local nStart = 0 for nCount = 1, math.ceil( nLength / nMax ) do local y = ( originalY + 18 * #messages ) table.insert ( messages, { [ "text" ] = s:sub( nStart + 1, nMax ), [ "y" ] = y, [ "r" ] = r, [ "g" ] = g, [ "b" ] = b, [ "addTime" ] = getTickCount ( ), [ "table" ] = formatTable } ) nStart = nMax nMax = nMax + nMaxOld end local y = ( originalY + 18 * #messages ) table.insert ( messages, { [ "text" ] = sNew:sub( 2, #sNew ), [ "y" ] = y, [ "r" ] = r, [ "g" ] = g, [ "b" ] = b, [ "addTime" ] = getTickCount ( ), [ "table" ] = formatTable } ) end local y = ( originalY + 18 * #messages ) table.insert ( messages, { [ "text" ] = s, [ "y" ] = y, [ "r" ] = r, [ "g" ] = g, [ "b" ] = b, [ "addTime" ] = getTickCount ( ), [ "table" ] = formatTable } ) end end I edited that function, try use function. I can't test for now. outputBox("ASDASDASDASDASDASDDDDDDDDDDDDDAAAAAAASDASDASDASDASDASDASDASDASDASDASASDASDASDASDAS", 45)
  5. Try copy my code again, I missed one and fixed one line
  6. function fixBug() if ( #messages >= 6 ) then table.remove( messages, 1 ) fixBug ( ) end end local stringT = string.transfer ( text, 45 ) if ( type ( stringT ) ~= "table" ) then local y = ( originalY + 18 * #messages ) table.insert ( messages, { [ "text" ] = text, [ "y" ] = y, [ "r" ] = r, [ "g" ] = g, [ "b" ] = b, [ "addTime" ] = getTickCount ( ), [ "table" ] = formatTable } ) fixBug ( ) else for index, msg in ipairs ( stringT ) do local y = ( originalY + 18 * #messages ) table.insert ( messages, { [ "text" ] = msg, [ "y" ] = y, [ "r" ] = r, [ "g" ] = g, [ "b" ] = b, [ "addTime" ] = getTickCount ( ), [ "table" ] = formatTable } ) fixBug ( ) end end Try use, I didnt tested yet.
  7. Kenix, I guess he want LONG STRING. Solidsnake14, edit string.transfer a bit, add return how much "/n" or numLines.
  8. Cadu12

    Xampp

    Maybe you have too much programms, you have to close it.
  9. Cadu12

    Xampp

    Skype is problem, and it wont let start Apache. Try close skype and start apache.
  10. Are you making hacking? Do you? Take a look chat at screenshot.
  11. This forum is NOT REQUEST. As Solidsnake14 said you have to use function what he sent you.
  12. His english is not good, so I can't understand. Lets stop off-topic.
  13. No problem. I didn't tested, sorry 0xffffff is only for C++, I guess
  14. If you want make image in GirdList, you should make your OWN custom gui.
  15. Try use "0xff0000" or "0xffff0000" (remove tocolor)
  16. Jaysds1, at line 6 is wrong. FSXTim, your code is wrong.
  17. "onClientResourceStart"won't work it, if you're using loadstring.
  18. Use string.lower, and remove the hex colors.
  19. local s = getTickCount() local s = ( getTickCount() - s )/1000 It wont will work, becuase it will return 0.00000000000000000000000000000000000000000000000001
×
×
  • Create New...