GetPlayerGroup

Get the actual player group.

Example
User thePlayer = GetPlayerFromName("Sosin", Users); string theGroup = GetPlayerGroup(thePlayer, userDictionary); SendMessageToPlayer(thePlayer, "[YOUR SCRIPT]", "Hello " + thePlayer.PlayerName + "! Your group is: " + theGroup);

Info
GetPlayerGroup(User ThePlayer, Dictionary userDictionary).

Returns
Returns a string with the player group if the player is found.

Returns Null if the player isn't found.