Script name into a string?
#10

Quote:
Originally Posted by Austin
Посмотреть сообщение
But if you load another one that isn't something you'd usually be in your gamemode, then you'd be fucked.
Depends. I really stay away from filterscripts and implement everything I need in my gamemode script, but then again I stick particularly to scripting roleplaying servers/scripts.

Couldn't you create a function which stores the names of the files in Get/Set property (or GVars) so it can communicate cross-script and then just (un)load/(re)load when you need to then, but when you load a new filterscript? Seeing as you can't directly get a running AMX file name (again, afaik).
Reply


Messages In This Thread
Script name into a string? - by Austin - 20.11.2010, 15:39
Re: Script name into a string? - by Calgon - 20.11.2010, 15:42
Re: Script name into a string? - by Austin - 20.11.2010, 15:46
Re: Script name into a string? - by Calgon - 20.11.2010, 15:48
Re: Script name into a string? - by Austin - 20.11.2010, 15:50
Re: Script name into a string? - by Calgon - 20.11.2010, 15:59
Re: Script name into a string? - by Austin - 20.11.2010, 16:01
Re: Script name into a string? - by Calgon - 20.11.2010, 16:04
Re: Script name into a string? - by Austin - 20.11.2010, 16:05
Re: Script name into a string? - by Calgon - 20.11.2010, 16:10
Re: Script name into a string? - by Austin - 20.11.2010, 16:11
Re: Script name into a string? - by Calgon - 20.11.2010, 16:15
Re: Script name into a string? - by Austin - 20.11.2010, 16:19
Re: Script name into a string? - by Austin - 20.11.2010, 16:44
Re: Script name into a string? - by Austin - 20.11.2010, 19:13
Re: Script name into a string? - by Austin - 21.11.2010, 00:19
Re: Script name into a string? - by Austin - 21.11.2010, 12:24
Re: Script name into a string? - by Calgon - 21.11.2010, 13:35
Re: Script name into a string? - by Calgon - 21.11.2010, 16:06

Forum Jump:


Users browsing this thread: 1 Guest(s)