Added persistent player storage
Added persistent player storage. Fixed store items. Full compile. Updated release archive.
This commit is contained in:
@@ -5,9 +5,16 @@
|
||||
// multiple handlers for the onmoduleload event.
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
#include "nui_i_main"
|
||||
|
||||
void main()
|
||||
{
|
||||
ExecuteScript("prc_onmodload", OBJECT_SELF);
|
||||
SetEventScript(GetModule(), EVENT_SCRIPT_MODULE_ON_NUI_EVENT, "mod_events");
|
||||
SetEventScript(GetModule(), EVENT_SCRIPT_MODULE_ON_PLAYER_TARGET, "mod_events");
|
||||
|
||||
NUI_Initialize();
|
||||
NUI_HandleEvents();
|
||||
|
||||
ExecuteScript("prc_onmodload", OBJECT_SELF);
|
||||
ExecuteScript("trin_modload", OBJECT_SELF);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user