Liberty Unleashed

Scripting => Script Help => Topic started by: ZX_Lost_Soul on October 25, 2013, 03:55:05 pm

Title: Reload Client Scripts
Post by: ZX_Lost_Soul on October 25, 2013, 03:55:05 pm
Is that possible to force client scripts update for players? (without leave/join server)

Or not?
Title: Re: Reload Client Scripts
Post by: Thijn on October 25, 2013, 03:58:18 pm
If I'm right client scripts are already reloaded when reloading scripts.
Title: Re: Reload Client Scripts
Post by: ZX_Lost_Soul on October 25, 2013, 04:33:29 pm
Thijn, no, it's not.

Code: [Select]
UnloadScript("Game");
LoadScript("Game");
and
Code: [Select]
SendRconCommand("reload_scripts");reload server scripts, but client scripts continues executing. Client scripts reloads only when player join server.

Maybe you use another way to reload scripts?
Title: Re: Reload Client Scripts
Post by: Thijn on October 27, 2013, 10:06:58 am
I use reload_scripts in my console. Maybe they just reload, without updating/redownloading. I'm not so sure anymore :P