Guild icon
Teeworlds
discord.gg/teeworlds / development
For discussions around the development of the official Teeworlds
Between 2021-03-14 00:00:00Z and 2021-03-15 00:00:00Z
Avatar
is it possible to send a CHAT_ALL message specific players only?
17:47
or rather how if
Avatar
yes it is
18:07
look into SendChat probably
Avatar
I do, I'm onto it 😮
18:11
guess via Msg.m_TargetID or something like that
Avatar
you could use whisper though, would make it more clear that other players can't read that
Avatar
Avatar
jxsl13
is it possible to send a CHAT_ALL message specific players only?
F-DDrace is a server mod for Teeworlds 0.7 developed by fokkonaut. - fokkonaut/F-DDrace
18:53
m_Target is used for whisper
18:53
Just send the packet only to the specific client
Avatar
the purpose is that people do not know that their messages do not reach certain other people
Avatar
Works with this^
Avatar
imma look at it
18:54
I do the same here too btw, I have a local chat mode
18:55
It only sends and receives messages from players closer to you (edited)
18:55
Just send the packet to the clients you want to, not to everyone (-1)
Avatar
@Spyry add me to Friends list
Avatar
Thanks @fokkonaut helped a lot. My misconception of targetId was cleared up.
Avatar
Avatar
jxsl13
Thanks @fokkonaut helped a lot. My misconception of targetId was cleared up.
np :)
Exported 20 message(s)