Last active
July 30, 2021 21:23
-
-
Save Zbizu/334aa93f7be73c32fa9159541e12ed12 to your computer and use it in GitHub Desktop.
[TFS 1.3][8.6 downgrade only] doSendAnimatedText
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- just place this in libs | |
function doSendAnimatedText(pos, text, color, player) | |
local p = Player(player) | |
if not p then | |
return false | |
end | |
local msg = NetworkMessage() | |
msg:addByte(0x84) | |
msg:addPosition(pos) | |
msg:addByte(color) | |
msg:addString(text) | |
msg:sendToPlayer(p) | |
return true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment