Quote:
|
Originally Posted by callimuc
I wanted to mess around with the Playerlists functions. I have been testing around getting the default Playerlists functions (default weapon name: -Playerlist). I wanted to ask if someone knows the parameters for the functions or how I could get them (via Script?), just like I can call the functions using (@"-Playerlist").getfunctions().
|
Most of the functions in the playerlist script are not public anyway; the only interesting functions are:
- anyPmsWaiting()
- addCustomMenuEntry(int entry id, string entry text)
- openPMWindow({TServerPlayer player object, TServerPlayer player object, ...}, boolean is mass PM)
- openHistoryWindow(TServerPlayer player object)
Functions that aren't listed here are either inaccessible or of no use to you, for a variety of reasons.
Quote:
|
Originally Posted by callimuc
How could I load the buddies of a player from the server? Since I saw that option on the F3 settings, I thought they wouldn´t be saved on the clients buddyaccounts.txt. Or am I wrong?
|
The playerlist handles most of this already, and the list of players synced with the server should be written out to
scriptfiles/groupBuddies.txt. I would suggest editing this file is not a great idea; I think changes will be overwritten on next connect.