PlayerIter question

Please post any questions about developing your plugin here. Please use the search function before posting!
Tuck
Global Moderator
Posts: 205
Joined: Sat Jul 14, 2012 9:35 pm
Location: Copenhagen

PlayerIter question

Postby Tuck » Thu Aug 29, 2013 5:54 pm

Syntax: Select all

from Source import Player
l = Player.Players()


whats the new equilivent to get a list of players or maybe even filter them?

searched and found this, however if anybody knows if filters are parsed in string, list, etc. and same for returned types it would be great with an example also

Thanks in advance
-Tuck
Omega_K2
Senior Member
Posts: 227
Joined: Sat Jul 07, 2012 3:05 am
Location: Europe
Contact:

Postby Omega_K2 » Thu Aug 29, 2013 6:48 pm

CPlayerGenerator

for filters look at filters.players
Libraries: k2tools
Plugins (any): GSRPG (soon) | Pretty Status List | MySQLAds (soon)
Plugins (game-specific): None atm

If you happen to find a bug or need help, either post in the release threads or contact me in IRC gamesurge.net:6667 / #sourcepython

Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 17 guests