02.09.2014, 19:00
Hello, i don't know if this goes in this section, if it shouldn't be here please let me know.
I'm having a problem with the SampQuery Api made by StatusRed (https://sampforum.blast.hk/showthread.php?tid=355574):
I have fsockopen enabled in a paid web hosting but when i use the API always returns "Server did not respond" and server is online. I tried with multiple servers but still the same..
API code: http://pastebin.com/sutxpnJ3
Example code: http://pastebin.com/rPKw6Dhw
I think the fsockopen isn't connecting correctly to the server but, idk how to solve it.
I would be glad if you could help me.
Thanks for reading,
Scope
EDIT: I also tried with Westie API (nvm, they use same method).
I'm having a problem with the SampQuery Api made by StatusRed (https://sampforum.blast.hk/showthread.php?tid=355574):
I have fsockopen enabled in a paid web hosting but when i use the API always returns "Server did not respond" and server is online. I tried with multiple servers but still the same..
API code: http://pastebin.com/sutxpnJ3
Example code: http://pastebin.com/rPKw6Dhw
I think the fsockopen isn't connecting correctly to the server but, idk how to solve it.
I would be glad if you could help me.
Thanks for reading,
Scope
EDIT: I also tried with Westie API (nvm, they use same method).