Search the Community
Showing results for tags 'http'.
-
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
-
Bom dia Pessoal nao consegui resolver o seguinte erro: #1011 External HTTP file mismatch (Retrying this file with internal HTTP) [admin\client\admin_gui.Lua] ja procurei de tudo e ainda continua o erro o que pode ser isso
-
Hi guys! I just tried out the external http file download stuff. And i constantly get: DIAGNOSTIC: [N'C]dugasz1 #1011 External HTTP file mismatch (Retrying this file with internal HTTP) [spawn\spawn_c.lua] But they are the same. I'm using AWS CloudFront. So, i don't know is it the server even find it? Maybe the redirections mess things up? I added ContentType: application/octet-stream and i checked it with chrome and postman and it is there. So any idea?
-
Hi, how can I add video to the background for roleplay login panel?
- 3 replies
-
- roleplay
- login panel
-
(and 3 more)
Tagged with:
-
Hello guys. Recently i heard this thing that it's better if i use fetchRemote for saving data. So, if the client have to save something to the mysql database instead of trigger it to the server then it saves it with dbQuery/dbExec (then trigger back if it's a SELECT) it's better to use fetchRemote on the client and call a php script. (mta, php, mysql server are on the same host) What do you think about it?