Difference between revisions of "API GetPlayerFaction"
From Vendetta Lua
(split) |
|||
Line 1: | Line 1: | ||
− | + | {{Function | |
− | + | | name = GetPlayerFaction | |
− | + | | desc = get nation of a player | |
− | + | | arg1_name = charid | |
− | + | | arg1_type = number | |
− | get nation of a player | + | | arg1_desc = character id or nil. Use nil to get current player's faction |
− | + | | arg1_opt = true | |
− | + | | ret1_name = [[factionid]] | |
− | + | | ret1_type = number | |
− | + | | ret1_desc = number representing the faction (1-13, 99) | |
− | + | | notes = | |
− | + | }} | |
− | + |
Latest revision as of 02:25, 20 October 2011
GetPlayerFaction
Type | Name | Description |
---|---|---|
number | charid | character id or nil. Use nil to get current player's faction (optional) |
Type | Name | Description |
---|---|---|
number | factionid | number representing the faction (1-13, 99) |