krz_personalmenu
krz_personalmenu copied to clipboard
SCRIPT ERROR: @krz_personalmenu/client/main.lua:140: attempt to index a nil value
Your script says SCRIPT ERROR: @krz_personalmenu/client/main.lua:140: attempt to index a nil value
when it starts, on your code line 140 you have a end
so i don't understand where is the real problem
RMenu.Add('inventory', 'actions', RageUI.CreateSubMenu(RMenu.Get('personal', 'inventory'), _U('inventory_actions_title')))
RMenu.Get('inventory', 'actions').Closed = function()
PersonalMenu.ItemSelected = nil
end
Also randomly your script stop displaying F5 menu at random moment until i restart of the ressource... No other error client and server side apart the one i mention in the top of my issues.
Need more info ? I'm here ! Thanks you for helping your script is nice ;)
EDIT:
Also randomly your script stop displaying F5 menu at random moment until i restart of the ressource... No other error client and server side apart the one i mention in the top of my issues.
I found why but i do not know if you can do anything, the "bug" appear when we revive with txadmin panel after death, F5 menu won't be triggered anymore