• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

TFS 1.2 - NetworkMessage receiving packets

Perun

nems.online
Joined
May 1, 2009
Messages
412
Solutions
7
Reaction score
198
Hello, i see that tfs 1.2 have networkmessage operations in lua. I have an example how to send packets, but i cannot find how can i receive packets from client.
Is there any creatureevent or something?

Code:
[LIST=1]
[*]    networkMessage:getByte()
[*]    networkMessage:getPosition()
[*]    networkMessage:getString()
[*]    networkMessage:getU16()
[*]    networkMessage:getU32()
[*]    networkMessage:getU64()
[*]
[/LIST]
 
Back
Top