net_server_receive_packet(buffer, client)
net_server_receive_packet is called automatically when the server receives a packet. This script will call net_packet_get_data to get the data out from the buffer. After this, it checks the packet identifier and checks if the server should execute any script. If it should, it will send a list (as argument0) and the client that send the packet as arguments.
buffer: Buffer received.
client: The client that send the packet.