mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-04-12 04:30:08 +03:00
Updated VScript : Basic Entity Code Tutorial (markdown)
parent
b24ba3beee
commit
2d402339e7
@ -209,7 +209,7 @@ function SetPlayerHealthToAllOfNPC()
|
|||||||
{
|
{
|
||||||
local health = 0
|
local health = 0
|
||||||
|
|
||||||
local wyatt
|
local wyatt = null
|
||||||
while((wyatt = Entities.FindByName(wyatt,"wyatt")) != null)
|
while((wyatt = Entities.FindByName(wyatt,"wyatt")) != null)
|
||||||
{
|
{
|
||||||
health += wyatt.GetHealth()
|
health += wyatt.GetHealth()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user