SetNetworkLocalInteger
Description
Sets a local integer variable for this client by name. Other clients can then read this variable by using the same name when requesting its value. An integer variable may not have the same name as a float variable. If the variable with that name does not exist it is created.
Definition
SetNetworkLocalInteger( iNetID, name, i )
void agk::SetNetworkLocalInteger( UINT iNetID, const char *name, int i )
SetNetworkLocalInteger( iNetID, name, i, mode )
void agk::SetNetworkLocalInteger( UINT iNetID, const char *name, int i, int mode )
Parameters
- iNetID - The ID of the network to check.
- name - The name of this variable.
- i - The value to set this variable to.
- mode - The type of this variable, 0=normal, 1=resetting