-
Posts
169 -
Joined
-
Last visited
Everything posted by Timic
-
Hello, i was wondering about getting player/players from other server. Maybe title explain enough.
-
Dude, the script at your signature is wrong Sorry, I had to say that well, back on topic, I loved your maps TulioTC, is there a way to get some of them? Oh, I wrote that when I was tired Fixed now
-
Did you even try to add root = getRootElement()?
-
What's your problem? Member gave him the maps.
-
Good map! I think they are from eXo
-
Nice map
-
You didn't even reply him. IS YOUR NICKNAME COLORCODED? Example: #FF00FFEco =================> Eco Yeah, I tried but it did not work. I've tried with ~XG~Tim#ff9000ic name
-
I tryied everything to do, but it won't work
-
There are no errors, but it shows white nick local x, y = guiGetScreenSize () local timicSettings = { xOffset = 556, yOffset = (y / 2) - 445, xOffset1 = 552, yOffset1 = (y / 2) - 443, } local textX = x - timicSettings.xOffset local textY = timicSettings.yOffset local textX1 = x - timicSettings.xOffset1 local textY1 = timicSettings.yOffset1 addEventHandler("onClientRender",root, function() dxDrawText("~XG~Timic",textX1, textY1, x, y,tocolor(0,0,0,255),1.0,"bankgothic","left","top",false,false,false) dxDrawColorText(getPlayerName(getLocalPlayer()),textX, textY, x, y,tocolor(255,255,255,255),1.0,"bankgothic","left","top",false,false,false) end ) --- --- --- --- --- function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, alignX, alignY) if alignX then if alignX == "center" then local w = dxGetTextWidth(str:gsub("#%x%x%x%x%x%x",""), scale, font) ax = ax + (bx-ax)/2 - w/2 elseif alignX == "right" then local w = dxGetTextWidth(str:gsub("#%x%x%x%x%x%x",""), scale, font) ax = bx - w end end if alignY then if alignY == "center" then local h = dxGetFontHeight(scale, font) ay = ay + (by-ay)/2 - h/2 elseif alignY == "bottom" then local h = dxGetFontHeight(scale, font) ay = by - h end end local pat = "(.-)#(%x%x%x%x%x%x)" local s, e, cap, col = str:find(pat, 1) local last = 1 while s do if cap == "" and col then color = tocolor(tonumber("0x"..col:sub(1, 2)), tonumber("0x"..col:sub(3, 4)), tonumber("0x"..col:sub(5, 6)), 255) end if s ~= 1 or cap ~= "" then local w = dxGetTextWidth(cap, scale, font) dxDrawText(cap, ax, ay, ax + w, by, color, scale, font) ax = ax + w color = tocolor(tonumber("0x"..col:sub(1, 2)), tonumber("0x"..col:sub(3, 4)), tonumber("0x"..col:sub(5, 6)), 255) end last = e + 1 s, e, cap, col = str:find(pat, last) end if last <= #str then cap = str:sub(last) local w = dxGetTextWidth(cap, scale, font) dxDrawText(cap, ax, ay, ax + w, by, color, scale, font) end end
-
I've fixed something, local x, y = guiGetScreenSize () local timicSettings = { xOffset = 556, yOffset = (y / 2) - 445, xOffset1 = 552, yOffset1 = (y / 2) - 443, } local textX = x - timicSettings.xOffset local textY = timicSettings.yOffset local textX1 = x - timicSettings.xOffset1 local textY1 = timicSettings.yOffset1 addEventHandler("onClientRender",root, function(player,name) local getp = type(name)=='string' and string.gsub ( name, '#%x%x%x%x%x%x', '' ) or name dxDrawText("~XG~Timic",textX1, textY1, x, y,tocolor(0,0,0,255),1.0,"bankgothic","left","top",false,false,false) dxDrawColorText(getp,textX, textY, x, y,tocolor(255,255,255,255),1.0,"bankgothic","left","top",false,false,false) end ) --- --- --- --- --- function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, alignX, alignY) if alignX then if alignX == "center" then local w = dxGetTextWidth(str:gsub("#%x%x%x%x%x%x",""), scale, font) ax = ax + (bx-ax)/2 - w/2 elseif alignX == "right" then local w = dxGetTextWidth(str:gsub("#%x%x%x%x%x%x",""), scale, font) ax = bx - w end end if alignY then if alignY == "center" then local h = dxGetFontHeight(scale, font) ay = ay + (by-ay)/2 - h/2 elseif alignY == "bottom" then local h = dxGetFontHeight(scale, font) ay = by - h end end local pat = "(.-)#(%x%x%x%x%x%x)" local s, e, cap, col = str:find(pat, 1) local last = 1 while s do if cap == "" and col then color = tocolor(tonumber("0x"..col:sub(1, 2)), tonumber("0x"..col:sub(3, 4)), tonumber("0x"..col:sub(5, 6)), 255) end if s ~= 1 or cap ~= "" then local w = dxGetTextWidth(cap, scale, font) dxDrawText(cap, ax, ay, ax + w, by, color, scale, font) ax = ax + w color = tocolor(tonumber("0x"..col:sub(1, 2)), tonumber("0x"..col:sub(3, 4)), tonumber("0x"..col:sub(5, 6)), 255) end last = e + 1 s, e, cap, col = str:find(pat, last) end if last <= #str then cap = str:sub(last) local w = dxGetTextWidth(cap, scale, font) dxDrawText(cap, ax, ay, ax + w, by, color, scale, font) end end It gives me: ERROR: test\test_c.lua:52: attempt to index local 'str' (a nil value)
-
Well, I want to do colored nick, but it gives me an error. Help please The code, client-side local x, y = guiGetScreenSize () local timicSettings = { xOffset = 556, yOffset = (y / 2) - 445, xOffset1 = 552, yOffset1 = (y / 2) - 443, } local textX = x - timicSettings.xOffset local textY = timicSettings.yOffset local textX1 = x - timicSettings.xOffset1 local textY1 = timicSettings.yOffset1 addEventHandler("onClientRender",root, function() dxDrawText("~XG~Timic",textX1, textY1, x, y,tocolor(0,0,0,255),1.0,"bankgothic","left","top",false,false,false) dxDrawColorText(getPlayerName(),textX, textY, x, y,tocolor(255,255,255,255),1.0,"bankgothic","left","top",false,false,false) end ) function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, alignX, alignY) if alignX then if alignX == "center" then local w = dxGetTextWidth(str:gsub("#%x%x%x%x%x%x",""), scale, font) ax = ax + (bx-ax)/2 - w/2 elseif alignX == "right" then local w = dxGetTextWidth(str:gsub("#%x%x%x%x%x%x",""), scale, font) ax = bx - w end end if alignY then if alignY == "center" then local h = dxGetFontHeight(scale, font) ay = ay + (by-ay)/2 - h/2 elseif alignY == "bottom" then local h = dxGetFontHeight(scale, font) ay = by - h end end local pat = "(.-)#(%x%x%x%x%x%x)" local s, e, cap, col = str:find(pat, 1) local last = 1 while s do if cap == "" and col then color = tocolor(tonumber("0x"..col:sub(1, 2)), tonumber("0x"..col:sub(3, 4)), tonumber("0x"..col:sub(5, 6)), 255) end if s ~= 1 or cap ~= "" then local w = dxGetTextWidth(cap, scale, font) dxDrawText(cap, ax, ay, ax + w, by, color, scale, font) ax = ax + w color = tocolor(tonumber("0x"..col:sub(1, 2)), tonumber("0x"..col:sub(3, 4)), tonumber("0x"..col:sub(5, 6)), 255) end last = e + 1 s, e, cap, col = str:find(pat, last) end if last <= #str then cap = str:sub(last) local w = dxGetTextWidth(cap, scale, font) dxDrawText(cap, ax, ay, ax + w, by, color, scale, font) end end Picture: http://www.shrani.si/f/2q/Yy/3YxUDuF9/m ... 1613-4.png
-
reflection = enb serie lulz smook = moded FX 2D pictures = crash on some explosion like the molotov = MTA dont like to have moded FX = Well, can you send these files via PM? ENB series for me won't work and I can't found 'moded FX 2D pictures'
-
Well, I gave this script to Asia then he/she upload it. Anyway, top hunter times is easy to script it, just add 7/8 lines. Nevermind, back on topic.
-
For steal client-side scripts, you must know some of computers, a thing that a kid like HAMA will NEVER! know. lol I scripted in AG, KoG, GMC... and right now I'm helping to XP and TARA's servers. Too I am an advanced maper, and I have access to 3 DM (race) servers. What means that? that means I'm not a "noob" DM player, I know what is happening and I know what scripts can people steal. Do you know that user "Timic" stolen some scripts too? he said huntertimes has been made by him when I was scripting on KoG . Eh, kog? Old times. AND I DIDN'T STOLE IT
-
Cool map You have to ft with me someday
-
Nice map! Can you share the reflection on vehicle and smoke mod ?
-
These compiled files are same? I just have seen the file and they are. Or I didn't watch carefuly?
-
Nice job! Keep it up!
-
"sended"? its "sent" so you can learn some enlgish someday... How do you know that?... I saw your AFK script, its so bugged, it won't work never... but Hama2o1o said https://community.multitheftauto.com/ind ... ts&id=1069 he said it in comments, I think that's so suspicious... What the problem is here with a script?? Oh, I know because he 'sent' me (Sorry for my bad english) the file.
-
Well he didn't created virus, but he downloaded from some site. Search in google: BifrOsT Dev-PoinT, he used this program. He also sended me all files that he use.
-
He means, to show this 'playerlist' in console, not in chatbox? So you must put outputConsole instead of outputChatBox