mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-05-16 08:38:10 +03:00
Updated VScript : Basic Entity Code Tutorial (markdown)
parent
73534ac7ed
commit
a92cbe8491
@ -60,7 +60,7 @@ This function takes parameters in between the parentheses, separated by commas.
|
||||
Entities.FindByName(null, "wyatt")
|
||||
```
|
||||
|
||||
The first parameter is used for finding multiple entities of the same name, so we use `null` to indicate that we're looking for the first entity named "wyatt" instead of, say, the second entity named "wyatt".
|
||||
"wyatt" *must* be in the second parameter. The first parameter is used for finding multiple entities of the same name, so we use `null` to indicate that we're looking for the first entity named "wyatt" instead of, say, the second entity named "wyatt".
|
||||
|
||||
In the function itself, it would look like this:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user