tzn Posted June 22, 2024 Share Posted June 22, 2024 Хочу сделать локальный чат, но мне выдаёт ошибку, что выдано boolean и resource data function localMessage(theMessage, thePlayer) local x, y, z = getElementPosition(thePlayer) local nearbyPlayers = getElementsWithinRange(x, y, z, 10, "player") outputChatBox(theMessage, nearbyPlayers) end addEventHandler("onChatMessage", root, localMessage) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now