
ma2med
Members-
Posts
178 -
Joined
-
Last visited
Everything posted by ma2med
-
well it's work when you crouch, move on left/right and press SPACE you can get up while you move on left/right
-
hi, I was having cbug script in 1.3.5 and when I update my MTA server to 1.4 the function setGlitchEnabled ( "fastmove", true ) don't work anymore. help pls.
-
I fixed it, I compressed the image
-
(its show texture of cj's boxer)
-
hi I made custom object(box) and its working good but the txd is bugging /screen/: PS: Idk if its good forum
-
awesome, good job.
-
hi, i was doing small script but it's seem like setPlayerNametagShowing don't work: hasClicked = true addCommandHandler("ok",function() if hasClicked == true then for i,player in ipairs(getElementsByType("player")) do setPlayerNametagShowing ( player, false ) end hasClicked = false else for i,player in ipairs(getElementsByType("player")) do setPlayerNametagShowing ( player, true ) hasClicked = true end end end )
-
Download latest version of slither.lua (Dependency) Download latest version of async.lua Update your meta.xml <script src="path/to/lib/slither.lua" type="shared" /> -- it. <script src="path/to/lib/async.lua" type="shared" /> Check it. I already do that but I changed the script location (path/to/lib/slither.lua) to (slither.lua) same for the second one
-
There is error I can't use it: 'attempt to call global 'class' (a nil value) at line 7'
-
what is do?
-
He wants to prevent "spam" - in his example there is 2x "apple" and he wants to output it only once. Yes
-
No, I want organize it. (this is an example with the fruits)
-
fruits = {} table.insert(fruits,{"banana",5}) table.insert(fruits,{"apple",1}) table.insert(fruits,{"cherry",4}) table.insert(fruits,{"banana",2}) table.insert(fruits,{"apple",8}) for i,v in ipairs(fruits) do outputChatBox(v[1].." = "..v[2]) end Hi, I'm searching a way for outputchatbox : ---[[ banana = 7 apple = 9 cherry = 4 ]]-- But it's output .. ---[[ banana = 5 apple = 1 cherry = 4 banana = 2 apple = 8 ]]-- But I don't find, thanks in advance
-
function table.random ( theTable ) return theTable[math.random ( #theTable )] end function getMaps() local resources = getResources() local tablemaps = {} for i,map in ipairs(resources) do if getResourceInfo(map,"type") == "map" and getResourceState(map) == "loaded" then table.insert(tablemaps,map) end end return tablemaps end function startRandomMap() local maprandom = table.random(getMaps()) startResource(maprandom) end
-
You can make this: function dxDraw3DText(text,x,y,z,red,blue,green,alpha,size,maxDistance) if text and x and y and z and red and blue and green and alpha and size and maxDistance then local a, b, c = getElementPosition (localPlayer) local thex, they, thez = getScreenFromWorldPosition( x, y, z ) if a and b and c and thex and they and thez <= maxDistance then if thex and they then dxDrawText( text, thex, they, _, _, tocolor( red, blue, green, alpha ), size, "default", "center", "center" ) end end end end There is another scripts on the community.
-
It's work for me, did you put "setDevelopmentMode" in client ?
-
Simply, --SERVERSIDE addEventHandler("onPlayerChat",getRootElement(),function(msg,msgtype) text = string.lower(msg) local red, green, blue = getPlayerNametagColor(source) outputChatBox(getPlayerName(source) ..": #EBDDB2".. text,getRootElement(),red,green,blue,true) cancelEvent() end )
-
Maybe unbind the teamsay key and add the clan say?