Jump to content

exports :3


Anubhav

Recommended Posts

I've problems using one export.

Meta:

  

    

server.lua

  
function isPlayerSupporter(s) 
    for v, k in ipairs(supportAcc) do -- supportAcc defined as a table. Nothing wrong here. 
        if getAccountName(getPlayerAccount(s)) == k then 
            return true 
        end 
    end 
end 
  

Call always gets failed. I am using this:

  
    if exports.SGNmisc:isPlayerSupporter(s) -- s is defined and this is a part of a script.  This is where call gets failed. 
  

Link to comment

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...