net_packet_identifier_create(name, serverScript, clientScript)
This is used to create a packet identifier. An identifier is what determines what will happen when a packet is received. When the server receives a packet with this identifier, it will execute the serverScript. When the client receives a packet with this identifier, it will execute the clientScript.
name: The name of the identifier. Used when creating packets.
serverScript: The script the server should execute when receiving this packet, or undefined it it should not execute any.
clientScript: The script the client should execute when receiving this packet, or undefined it it should not execute any.