|
Player
1: int GetGroupRank(int GroupId)
returns the integer rank of the user if they are in that group. IF they are not in the group it returns 0
2: table GetGroups()
returns a table containing the IDs of all the groups that player is in.
3: table GetFriends()
returns a table containing all that users friends
DataModel (className of the Game object)
1: string GetGroupName(int GroupId)
returns the groups name from the groups ID. Returns nil if it cant find the group
2: int GetGroupId(string GroupName)
returns the groups ID from the groups name. Returns nil if it cant find the group
3: int GetPlayerId(string PlayerName)
returns the players ID from their name. Returns nil if it cant find that player
4 string GetPlayerName(int PlayerId)
returns the players name from their ID. Returns nil if it cant find that player |
|
|
I see that people love this idea... |
|
|
|
|
|
Game:GetPlayerName(993725)
> "Notunknown99" |
|
MaximMikeJoin Date: 2008-03-11 Post Count: 586 |
I like this.
Also,add this to your post:
:InvitePlayer(int number or string)
|
|
|
InvitePlayer? What would that do? |
|
|
|
Yea but... What would it do? Send them a PM? Cant you just PM that person? |
|
|
|
Bump
--This thread was found manually on Page 14. I hate the search engine.-- |
|
|
|
|
Couldn't understand it... so I dunno if I can support or not.
I am not that advanced in scripting yet. |
|
AnAltsAltJoin Date: 2011-02-13 Post Count: 1626 |
I love these ideas, except for the one about searching a group id by searching with a string. :/ |
|
|
IForumIJoin Date: 2011-04-14 Post Count: 686 |
Nice idea.
Supported. |
|
darkwispJoin Date: 2010-04-07 Post Count: 22653 |
Wow this makes it easier
But seriously, join The Collision. |
|