-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also load png on server, so correct image dimensions are known (else …
…listen servers fail to copy memory to a too small buffer sometimes) + add enumerations + fix ents.FindByClass compat
- Loading branch information
Showing
30 changed files
with
1,722 additions
and
1,644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
template: lua-library-function.html | ||
title: GetByClass | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: Entities | ||
function: GetByClass | ||
realm: shared | ||
description: "Gets all entities in the list by their class name" | ||
|
||
arguments: | ||
- name: "className" | ||
type: string | ||
returns: | ||
- type: table | ||
description: "A table of all entities in the entity list with the given class name." | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
Entities.GetByClass – Gets all entities in the list by their class name | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
template: lua-library-function.html | ||
title: AddSingleFile | ||
icon: lua-server | ||
tags: | ||
- lua | ||
- server | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: Resources | ||
function: AddSingleFile | ||
realm: server | ||
description: "Add a file to the list of resources so it's downloaded when players connect to the server." | ||
|
||
arguments: | ||
- name: "filePath" | ||
type: string | ||
returns: | ||
|
||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
Resources.AddSingleFile – Add a file to the list of resources so it's downloaded when players connect to the server. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
--- | ||
template: lua-library-function.html | ||
title: Lerp | ||
icon: lua-shared | ||
tags: | ||
- lua | ||
- shared | ||
- needs-verification | ||
- needs-example | ||
lua: | ||
library: Vectors | ||
function: Lerp | ||
realm: shared | ||
description: "Linearly interpolates between two vectors." | ||
|
||
arguments: | ||
- name: "fraction" | ||
type: number | ||
- name: "from" | ||
type: Vector | ||
- name: "to" | ||
type: Vector | ||
returns: | ||
- type: Vector | ||
description: "The interpolated vector." | ||
--- | ||
|
||
<div class="lua__search__keywords"> | ||
Vectors.Lerp – Linearly interpolates between two vectors. | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
garrysmod/ | ||
/tacrp-melee/ | ||
/tacrp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.