How to use PlayerDictionary?
Posted: Fri Aug 03, 2018 4:46 pm
so there's a playerdict that let's you factory with any existing class as long as the class derives from "Player" but how does it work?
is the dictionary automatically updated like when a person connects or disconnects?
is it a dictionary of player userids, player edict ptrs, or player entity indexes?
how would I access each dict value? Like a list index? by name?
Syntax: Select all
player_dict = PlayerDictionary(factory=RTDPlayer);
is the dictionary automatically updated like when a person connects or disconnects?
is it a dictionary of player userids, player edict ptrs, or player entity indexes?
how would I access each dict value? Like a list index? by name?