AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved not related topic (https://forums.alliedmods.net/showthread.php?t=314289)

spacepoi 02-12-2019 08:55

not related topic
 
I write vscript with squirrel for csgo.
I want to use this function without flag, "Preserve entity names".
I write script but it dont work.
I think "Entities.FindByName(null,"path1")" on the second line is not appropriate.
I only can find example on
https://developer.valvesoftware.com/...CPointTemplate
How to fix this?
Thanks in advance.

=============================
tbl <- {
path1 = Entities.FindByName(null,"path1"),
path2 = Entities.FindByName(null,"path2")
}

function PostSpawn( tbl )
{
foreach( name, handle in tbl )
{
printl( name + ": " + handle )
}
}

OciXCrom 02-12-2019 09:28

Re: Help with function PostSpawn for point_template
 
This is the AMX Mod X section, welcome.

spacepoi 02-12-2019 09:44

Re: not related topic
 
sorry i mistake forum


All times are GMT -4. The time now is 07:32.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.