Skip to content

Fix nil pointer in aPlayerStatsClose#714

Open
NightWatch404 wants to merge 1 commit intomultitheftauto:masterfrom
NightWatch404:patch-5
Open

Fix nil pointer in aPlayerStatsClose#714
NightWatch404 wants to merge 1 commit intomultitheftauto:masterfrom
NightWatch404:patch-5

Conversation

@NightWatch404
Copy link
Contributor

Issue : admin_stats.lua:81: Bad argument @ 'guiCheckBoxGetSelected' [Expected gui-element at argument 1, got nil]
Fix Added isElement and aStatsForm safety checks before guiCheckBoxGetSelected and guiSetVisible.
Screenshot_6
Screenshot_7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant