Jump to content

Use a exported function in ouputChatBox


Recommended Posts

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...