• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Lua Sending messages "private" without using NPC's chat.

Sprrw

Well-Known Member
Joined
Jun 22, 2021
Messages
100
Reaction score
55
Location
Sweden
So what Im trying to do is something like this :
Lua:
pos:sendMagicEffect(effect, cid)
But with text something like this :
Lua:
say(msg, player)
So I basically want to send a say text msg but that only displays on the client side of things like pos:sendMagicEffect(effect, cid) does.
Im not even sure if this is possible but if you know of a solution please do share!

Oh I forgot to add that something like :
Lua:
doPlayerSendTextMessage(cid, MSG_TYPE, msg)
does not work in this case since Im not sending the msg to a player, I want it to display like say() does, ex : like a monster saying "grrr".

Im using TFS 1.4 ^^
 
Back
Top