-
Posts
827 -
Joined
-
Last visited
-
Days Won
1
Everything posted by Cadu12
-
Does have auto-completion?
-
Go learn Lua or buy it.
-
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.
-
novo is a steal script.
-
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)
-
Try copy my code again, I missed one and fixed one line
-
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.
-
Kenix, I guess he want LONG STRING. Solidsnake14, edit string.transfer a bit, add return how much "/n" or numLines.
-
Maybe you have too much programms, you have to close it.
-
Skype is problem, and it wont let start Apache. Try close skype and start apache.
-
Are you making hacking? Do you? Take a look chat at screenshot.
-
This forum is NOT REQUEST. As Solidsnake14 said you have to use function what he sent you.
-
His english is not good, so I can't understand. Lets stop off-topic.
-
No problem. I didn't tested, sorry 0xffffff is only for C++, I guess
-
If you want make image in GirdList, you should make your OWN custom gui.
-
Try use "0xff0000" or "0xffff0000" (remove tocolor)
-
Jaysds1, at line 6 is wrong. FSXTim, your code is wrong.
-
"onClientResourceStart"won't work it, if you're using loadstring.
-
setTimer is wrong at all.
-
Use string.lower, and remove the hex colors.
-
local s = getTickCount() local s = ( getTickCount() - s )/1000 It wont will work, becuase it will return 0.00000000000000000000000000000000000000000000000001