Jump to content

Recommended Posts

Posted

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...