# GetNetworkMessageString

## Description

Gets a single string from the message and advances the message pointer to the next message item. Messages should be created and read according to known formats, e.g. string, int, string as there is no immediate way for the receiver to know the format of a message. You could use an initial integer to specify a message type ID which you can use to identify the message format.

## Definition

string GetNetworkMessageString( iMsgID )

char* agk::GetNetworkMessageString( UINT iMsgID )

## Parameters

- iMsgID - The ID of the message to read.