NSpPlayer_GetMyID
You can use theNSpPlayer_GetMyID
function to obtain your player ID.
NSpPlayerID NSpPlayer_GetMyID (NSpGameReference inGame);
inGame
- An opaque reference to your game object.
- function result
- A valid player ID.
DESCRIPTION
NSpPlayer_GetMyID
returns the player ID for the game object you have specified. NetSprocket returns 0 if there is no player associated with the game object.