Skip to content

Instantly share code, notes, and snippets.

@Zbizu
Last active July 30, 2021 21:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Zbizu/334aa93f7be73c32fa9159541e12ed12 to your computer and use it in GitHub Desktop.
Save Zbizu/334aa93f7be73c32fa9159541e12ed12 to your computer and use it in GitHub Desktop.
[TFS 1.3][8.6 downgrade only] doSendAnimatedText
-- 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