Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Is it possible to like reload all the filterscripts loaded upon gamemode loading?
So like
public OnGameModeInit()
{
ReloadAllFS();
return 1;
}
Posts: 349
Threads: 35
Joined: Nov 2007
Reputation:
0
If you did'nt used "loadfs" / "unloadfs" before the gamemode loading - yes.
Posts: 1,535
Threads: 90
Joined: Feb 2010
Reputation:
0
u can use something like :
forward ReloadAllFS();
public ReloadAllFS()
{
SendRconCommand("reloadfs script1");
SendRconCommand("reloadfs script2");
SendRconCommand("reloadfs script3");
return 1;
}
but i dont think there is another way
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Thats the thing :P i want it to reload all FS, I wouldnt know all the names,
Cause it switches my computer off if i do GMX and dont reload all FS
Posts: 1,535
Threads: 90
Joined: Feb 2010
Reputation:
0
u can edit ur /gmx to reloadfs not just restart the gm
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
You dont understand :P,
I wouldnt know what FS are loaded at that time so i couldnt use reloadfs
As not all of them would reload as it would only reload the ones i told it to,
Not all the current loaded ones