Initial upload
Initial upload
This commit is contained in:
18
_module/nss/modclientexit.nss
Normal file
18
_module/nss/modclientexit.nss
Normal file
@@ -0,0 +1,18 @@
|
||||
#include "hgll_func_inc"
|
||||
#include "fky_chat_inc"
|
||||
void main()
|
||||
{
|
||||
|
||||
object PC = GetExitingObject();
|
||||
object M = GetModule();
|
||||
|
||||
string Script = GetLocalString(PC, "LetoScript");
|
||||
|
||||
if( Script != "" )
|
||||
{
|
||||
SetLocalString(PC, "LetoScript", "");
|
||||
LetoScript(Script);
|
||||
}
|
||||
|
||||
Speech_OnClientExit(GetExitingObject());
|
||||
}
|
Reference in New Issue
Block a user