-
Posts
4 -
Joined
-
Last visited
Posts posted by L3firD
-
-
On 19/01/2021 at 05:52, Patrick said:
Попробуйте использовать этот sdk или проверьте, как он работает: https://gitlab.com/OwlGamingCommunity/mta-python-sdk
This works with `Django`, so it didn't work for me.
I need to find out information about the server using regular `requests`.
I need to know how to get the name of the server by its IP: PORT
-
How to call a lua script function from a site?
I don’t know what POST request to send to the server to get a response!
I'm trying to do it like this:
[LUA] function MTACheck(user) account = getAccount(user) if account then return "OK" else return "ERROR" end end
[PYTHON] import requests ipp = '4*.17*.4*.4*:3***2' # it's my IP:PORT server adress user = '6E860E******************8E0F65F2' #it's my login from server req = requests.post(f'http://{ipp}/payment/call/MTAPaymentCheck', data = {'user': f'{user}'}) print( str(req.text) )
Received from the server: Access denied, please login
-
Имея шейдер blackwhite.fx хотелось бы узнать, как доработать его таким образом, чтобы черно-белым было всё кроме педов. Педов нужно перекрасить в белый.
How to call a lua script function from a site?
in Scripting
Posted
I can already access the resources, for this I use a GET request with a Login and Password.
I cannot find out how many players are on the server and the server name. As far as I know, LOGIN and PASSWORD are not needed for this.
How will monitoring services learn this information?
Sorry if my question is not clear. I use a translator to communicate with you!
To call a function using a URL, I do it like this