gmod chat doesnt display rtl chat correctly its backward so i was working on a script that does just that but for some reason handling the string in any way end up adding question marks at the end and start of a word.
was wondering if any one know why it is.
i tried looping thro the string backward and didnt work and i tried using string.reverse too and didnt work
hook.Add( "PlayerSay", "PlayerSayExample", function( ply, text, team )
if string.find( text , "\215[\144-\170]") then
local str = string.reverse(text)
return str
else
return text
end
end )
Sorry, you need to Log In to post a reply to this thread.