Elphaba Posted March 27 Share Posted March 27 Both in the net singleton and elsewhere we are able to the the string of the 'playerName' but nowhere can we get the playerID with the exception of iterating around net.get_player_list( ) for a playerName match. That seems inefficient. If we supply a playerName string to net, we should be able to get either the playerID back, or even use net.get_player_info(string playerName as a polymorphic alternative. Alternatively the net.get_my_player_id( ) shouldn 't always return 1 on a server, but should take a parameter of 'playerName' and return the playerID that matches that playername. Link to comment Share on other sites More sharing options...
Recommended Posts