HTTP() tutorial
#1

Hey guys, I am completely new to the HTTP function, and I was wondering about something
I have seen servers that can play songs from ******* links, and present the name aswell
The converter is http://www.*******inmp3.com
I can do the part of the PlayAudio, but how can I retrieve the actual name using HTTP ?
Reply
#2

Do http_get and check what you retrieve - and from that you should be able to see what you need to do

https://sampwiki.blast.hk/wiki/HTTP

The response is retrieved as plain text. Using SA-MP's default functions you can strfind / strcmp and so on, in order to get what you need
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)