2025/06/23 Update
Fixed NUI levelup issue. Full compile.
This commit is contained in:
@@ -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;
|
||||
}
|
Reference in New Issue
Block a user