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