Lua Library Functions
From SOPWiki
(Difference between revisions)
Revision as of 01:52, 16 June 2008
[edit] admincommand (Library)
[edit] bit (Library)
[edit] concommand (Library)
[edit] constraint (Library)
[edit] convar (Library)
- convar.Add
- convar.Exists
- convar.GetBool
- convar.GetInteger
- convar.GetNumber
- convar.GetString
- convar.Remove
- convar.RemoveAll
[edit] coroutine (Library)
[edit] debug (Library)
- debug.debug
- debug.getfenv
- debug.gethook
- debug.getinfo
- debug.getlocal
- debug.getmetatable
- debug.getregistry
- debug.getupvalue
- debug.setfenv
- debug.sethook
- debug.setlocal
- debug.setmetatable
- debug.setupvalue
- debug.traceback
[edit] effects (Library)
[edit] ents (Library)
[edit] file (Library)
[edit] game (Library)
[edit] gamerules (Library)
- gamerules.ChangeLevel
- gamerules.GetIndexedTeamName
- gamerules.GetTeamIndex
- gamerules.IsValidTeamNumber
- gamerules.SetStalemate
[edit] hook (Library)
[edit] io (Library)
[edit] list (Library)
[edit] math (Library)
- math.abs
- math.acos
- math.asin
- math.atan
- math.atan2
- math.ceil
- math.cos
- math.cosh
- math.deg
- math.exp
- math.floor
- math.fmod
- math.frexp
- math.ldexp
- math.log
- math.log10
- math.max
- math.min
- math.mod
- math.modf
- math.pow
- math.rad
- math.random
- math.randomseed
- math.sin
- math.sinh
- math.sqrt
- math.tan
- math.tanh
[edit] os (Library)
- os.clock
- os.date
- os.difftime
- os.execute
- os.exit
- os.getenv
- os.gettimeofday
- os.microtime
- os.remove
- os.rename
- os.setlocale
- os.time
- os.tmpname
[edit] package (Library)
[edit] player (Library)
[edit] playercommand (Library)
[edit] playermenus (Library)
[edit] sourceop (Library)
- sourceop.AddSpawnedEnt
- sourceop.CanSpawn
- sourceop.DataDir
- sourceop.FeatureStatus
- sourceop.FullPathToDataDir
- sourceop.GetCommandPrefix
- sourceop.GetSpawnedCount
- sourceop.SayTextAll
[edit] string (Library)
- string.FixSlashes
- string.byte
- string.char
- string.dump
- string.find
- string.format
- string.gfind
- string.gmatch
- string.gsub
- string.len
- string.lower
- string.match
- string.rep
- string.reverse
- string.strconcat
- string.strjoin
- string.strsplit
- string.strtrim
- string.sub
- string.upper
[edit] table (Library)
- table.Count
- table.HasValue
- table.concat
- table.foreach
- table.foreachi
- table.getn
- table.insert
- table.maxn
- table.remove
- table.setn
- table.sort
[edit] timer (Library)
- timer.Adjust
- timer.Check
- timer.Create
- timer.Destroy
- timer.IsTimer
- timer.Pause
- timer.Remove
- timer.Simple
- timer.Start
- timer.Stop
- timer.Toggle
- timer.UnPause
[edit] util (Library)
[edit] AbstainableVote (Object)
[edit] Angle (Object)
- Angle.Forward
- Angle.GetX
- Angle.GetY
- Angle.GetZ
- Angle.Right
- Angle.RotateAroundAxis
- Angle.Up
- Angle.new
[edit] Entity (Object)
- Entity.Activate
- Entity.BoundingRadius
- Entity.DrawShadow
- Entity.EmitSound
- Entity.EntIndex
- Entity.EyePos
- Entity.FindEntityForward
- Entity.GetAbsOrigin
- Entity.GetClass
- Entity.GetClassname
- Entity.GetForward
- Entity.GetPhysicsObject
- Entity.GetPos
- Entity.Health
- Entity.IsNPC
- Entity.IsPlayer
- Entity.IsValid
- Entity.KeyValue
- Entity.Kill
- Entity.LocalToWorld
- Entity.NextThink
- Entity.OBBCenter
- Entity.PhysicsInit
- Entity.Remove
- Entity.SetAbsOrigin
- Entity.SetCollisionGroup
- Entity.SetModel
- Entity.SetPos
- Entity.SetTrigger
- Entity.Spawn
- Entity.new
[edit] Menu (Object)
[edit] PhysObj (Object)
- PhysObj.ApplyForceCenter
- PhysObj.EnableGravity
- PhysObj.GetMass
- PhysObj.IsValid
- PhysObj.SetMass
- PhysObj.new
[edit] Player (Object)
- Player.AddSpawnedEnt
- Player.CanSpawn
- Player.ChatPrint
- Player.ConCommand
- Player.FakeConCommand
- Player.GetLogString
- Player.GetMenu
- Player.GetName
- Player.GetSpawnedCount
- Player.GetTeam
- Player.IsAdmin
- Player.IsConnected
- Player.IsEntMoving
- Player.IsPlaying
- Player.Kick
- Player.Kill
- Player.Name
- Player.SayText
- Player.SayTextNoSOP
- Player.SetMenu
- Player.SetTeam
- Player.ShowMenu
- Player.ShowWebsite
- Player.SteamID
- Player.Team
- Player.UserID
- Player.new