Skip to content

Commit

Permalink
Merge pull request #444 from FileEX/bugfix/admin2/messagebox
Browse files Browse the repository at this point in the history
Admin2: Fixed messagebox not showing from server side
  • Loading branch information
TheNormalnij authored Aug 10, 2023
2 parents 507a049 + 5afe024 commit b7cae33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion [admin]/admin2/server/admin_messagebox.lua
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ MB_QUESTION = 3
MB_INFO = 4

function messageBox(player, message, icon)
triggerClientEvent(client, EVENT_MESSAGE_BOX, client, text, type)
triggerClientEvent(player, EVENT_MESSAGE_BOX, player, message, icon)
end

0 comments on commit b7cae33

Please sign in to comment.