API GetPlayerFaction

From Vendetta Lua
Jump to: navigation, 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)