krz_personalmenu icon indicating copy to clipboard operation
krz_personalmenu copied to clipboard

SCRIPT ERROR: @krz_personalmenu/client/main.lua:140: attempt to index a nil value

Open Benjiiben53 opened this issue 2 years ago • 1 comments

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 ;)

Benjiiben53 avatar Jul 23 '22 16:07 Benjiiben53

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

Benjiiben53 avatar Jul 23 '22 19:07 Benjiiben53