dragonofdark Posted June 23, 2011 Share Posted June 23, 2011 Hello, I want for my members to see what is their factions when then do /getfaction . As my faction system use SQL I need to make an exported function. The exported function is : function getPlayerFactions( player ) return p[ player ] and p[ player ].factions or false end Thanks, dragonofdark Link to comment
JR10 Posted June 23, 2011 Share Posted June 23, 2011 If your faction system uses account data then you don't need to export just do: string getAccountData ( account theAccount, string key ) And if it uses SQL then you still don't need to export because you can executeSQLQuery from any resources. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now