API GetPlayerFaction

From Vendetta Lua
Revision as of 02:25, 20 October 2011 by Draugath (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

GetPlayerFaction

Definition
GetPlayerFaction( [  number  charid ]) ->  number  factionid
Description
get nation of a player
Arguments
Type Name Description
number charid character id or nil. Use nil to get current player's faction (optional)
Returns
Type Name Description
number factionid number representing the faction (1-13, 99)