LUADOC - Farming Simulator 17

Printable Version

packetReceived

Description
This function is called when a network packet was received.
Definition
packetReceived(integer packetType, integer timestamp, integer streamId)
Arguments
integerpacketTypetype of the packet. all available types are stored in the network table
integertimestamptimestamp of when the packet was sent
integerstreamIdid of the stream containing the packet data