04-02-2012, 05:57 PM
There is no method GetGroupName. May be GetGroups?
http://www.mc-server.org/wiki/doku.php?id=api:cplayer
std::list has no method contains(), try to write your own function to search element in list.
If player can be in only one group use Player:GetGroups().at(0).
http://www.mc-server.org/wiki/doku.php?id=api:cplayer
std::list has no method contains(), try to write your own function to search element in list.
If player can be in only one group use Player:GetGroups().at(0).