Jump to content

PHP return


ahmedo01

Recommended Posts

I know using return works with PHP, but I don't quite remember how to use the MTA PHP SDK.

What happens if you run this? Also, make sure that the website-login (in mta class constructor) is authorized.

print_r ( $mtaServer->getResource("someResource")->call("someFunction") ); 

If this is just returning an empty array, can you post your lua code please?

Edited by Guest
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...