mirror of
https://github.com/UltimateMenu/UltimateMenu.git
synced 2026-10-10 03:43:09 +08:00
Fix
localplayer returns nil error thx for @Ronnie-Reagan for simple readable code <3
This commit is contained in:
@@ -32436,7 +32436,11 @@ e6 = false
|
||||
|
||||
--Required Stats--
|
||||
|
||||
PlayerID = localplayer:get_player_id()
|
||||
PlayerID = function()
|
||||
if localplayer ~= nil then
|
||||
return localplayer:get_player_id()
|
||||
end
|
||||
end
|
||||
|
||||
MPX = PI
|
||||
PI = stats.get_int("MPPLY_LAST_MP_CHAR")
|
||||
|
||||
Reference in New Issue
Block a user