temar
Temar's help file.
- Clienttemar.cluarun(ply, _, code, codeStr)Source ☍
-
Run lua on the client.
Parameters
- plyPlayerThe player running the command.
- _stringThe command being ran.
- codetableCode arguments passed in.
- codeStrstringThe entire command passed through.
- Servertemar.it(plyOrSteamID) → booleanSource ☍
-
Checks if a user is Temar.
Parameters
- plyOrSteamIDstring|PlayerThe player or SteamID to check.
Returns
- booleanWhether the given player/SteamID is Temar.
- Servertemar.m(msg)Source ☍
-
Message temar.
Parameters
- msgstringThe message to send.
- Servertemar.map()Source ☍
-
Restart the map.
- Servertemar.p() → boolean|PlayerSource ☍
-
Grab temar's player.
Returns
- boolean|PlayerTemar's player, or false if not currently connected.
- Servertemar.pcall(func, _)Source ☍
-
pcall a function and output the error to temar if it fails.
Parameters
- funcfunctionThe function to be called.
- anyArguments to pass to the function.
- Servertemar.pos() → Vector?Source ☍
-
Grab temar's eye trace hitpos.
Returns
- Vector?Temar's eye-trace hitpos, or nil if Temar isn't connected.
- Servertemar.pt(tbl)Source ☍
-
Send a table to temar.
Parameters
- tbltableThe table to send
- Servertemar.sid() → stringSource ☍
-
Fetch temar's steamid.
Returns
- string's Primary SteamID.
- Servertemar.sinc(ply, _, file)Source ☍
-
Include a file from lua/temar.
Parameters
- plyPlayerThe player calling the command.
- _stringThe command being ran.
- filetableThe arguments list.
- Clienttemar.t() → Entity?Source ☍
-
Get the local player's eye trace entity.
Returns
- Entity?entity if there is one.
- Clienttemarpt(t) → stringSource ☍
-
Print a table to a string.
Parameters
- ttableThe table to print.
Returns
- stringprinted table.
- ClienttemarSource ☍