-
Content Count
925 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout norby89
-
Rank
MTA Contributor
- Birthday 15/03/1989
Details
-
Gang
RaFS
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
It's probably Johnline's server hosted on his home computer.
-
Or you could upgrade to a proper antivirus software.
-
http://www.lua.org/pil/index.html You've got pretty much everything explained there.
-
function GetPosition ( player ) local x, y, z = getElementPosition( player ) outputChatBox("Your Position: "..x..", "..y..", "..z) end addCommandHandler ( "Postion", GetPosition ) You added an extra ". You should work in a text editor that supports syntax highlighting, which makes errors like this easier to spot.
-
Glad someone quoted his post.
-
Steam (after you bought it).
-
[lua][/lua] highlighting
norby89 replied to Static-X's topic in Site/Forum/Discord/Mantis/Wiki related
Also really long code doesn't show up when used with lua tags (or anything else other than 'text'). -
Hope you aren't planning on using it on this forum because it's simply huge.
-
The whole syntax is wrong. http://pastebin.com/U4AU2jUN
-
Just in case anyone needs the opposite of this function: function rgbToHex ( nR, nG, nB ) local sColor = "#" nR = string.format ( "%X", nR ) sColor = sColor .. ( ( string.len ( nR ) == 1 ) and ( "0" .. nR ) or nR ) nG = string.format ( "%X", nG ) sColor = sColor .. ( ( string.len ( nG ) == 1 ) and ( "0" .. nG ) or nG ) nB = string.format ( "%X", nB ) sColor = sColor .. ( ( string.len ( nB ) == 1 ) and ( "0" .. nB ) or nB ) return sColor end
-
It's also short for Ukraine, if there's a clan called US will you ask all players from the United States to change their tag too?
-
Are you running the race gamemode? It's not a default feature.
-
In fact that's quite easy to do: http://www.lua.org/pil/2.5.html tl;dr version: houseData = {} houseData[houseID] = {} houseData[houseID][something] = cake