Community Resources

From Multi Theft Auto: Wiki
Revision as of 11:23, 19 March 2008 by Lil Toady (talk | contribs) (New page: Community calls documentation'''Bold text''' ==community.mtasa.com/mta/verify.php== '''Calls:''' User validation: <syntaxhighlight lang="lua"> player thePlayer, string Username, string Serial </syntaxhighlight> ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Community calls documentationBold text

community.mtasa.com/mta/verify.php

Calls:

User validation:

player thePlayer, string Username, string Serial

Returns: an integer, 1 if user is valid, 0 otherwise


community.mtasa.com/mta/groups.php

Calls:

Info:

int groupID

Returns 5 values:
1. Group name
2. Owner username
3. Number of members
4. Public. Integer: 1 if the group is public, 0 otherwise
5. Registration time


Members list:

int groupID

Returns: a table of usernames in the group


community.mtasa.com/mta/resources.php

Calls:

Latest resource version:

string resourceName

Returns: an integer, resource version. 0 if an error has occured