|
mplay_player_name(numb) |
|
numb = this arguments tells what’s the placer you want to retrieve it’s string name.
This functions will return in the form of an string the name of the target player. This function works only after calling mplay_player_find(). With the number returned by that function you can specify what player you want to retrieve it’s name.
Example
But it can be useful for example, store all the names in an array, so, a good example can be:
Example
The above just stores how many players were found and then starts a loop to quickly store everything into the correct arrays, so, you want the name of the player 0? Just retrieve what’s inside name[0].
gml_josea – Revision #1 |