2025/06/23 Update

Fixed NUI levelup issue.
Full compile.
This commit is contained in:
Jaysyn904
2025-06-23 21:30:31 -04:00
parent a2d33930c8
commit dd3496e400
29 changed files with 15 additions and 23 deletions

View File

@@ -16,26 +16,9 @@
void main()
{
NUI();
//NUI();
object oPlayer = NuiGetEventPlayer();
int nToken = NuiGetEventWindow();
string sWindowId = NuiGetWindowId(oPlayer, nToken);
ExecuteScript("prc_onplayernui");
ExecuteScript("mod_nui");
// Open the Power Attack NUI
if(sWindowId == NUI_PRC_POWER_ATTACK_WINDOW)
{
ExecuteScript("prc_nui_pa_event");
}
// Open the Spellbook NUI
if(sWindowId == PRC_SPELLBOOK_NUI_WINDOW_ID
|| sWindowId == NUI_SPELL_DESCRIPTION_WINDOW_ID)
{
ExecuteScript("prc_nui_sb_event");
}
return;
}