Raised This Month: $52 Target: $400
 13% 

Solved not related topic


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
spacepoi
New Member
Join Date: Feb 2019
Old 02-12-2019 , 09:55   not related topic
Reply With Quote #1

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 )
}
}

Last edited by spacepoi; 02-12-2019 at 10:42.
spacepoi is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 02-12-2019 , 10:28   Re: Help with function PostSpawn for point_template
Reply With Quote #2

This is the AMX Mod X section, welcome.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
spacepoi
New Member
Join Date: Feb 2019
Old 02-12-2019 , 10:44   Re: not related topic
Reply With Quote #3

sorry i mistake forum
spacepoi is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:47.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode