Samp external program access, with discrimination? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Samp external program access, with discrimination? (
/showthread.php?tid=455023)
Samp external program access, with discrimination? -
Olvaso42 - 31.07.2013
Hello..
Im seen in forum a program (SA:MP chat, for andoid..) this program is i dont know how to created, but I have a similar need.
Im created a SA:MP server laucher, and I want to see if someone is connected to the same server will be assigned the "onplayerconnect" with a distinction.
For example, if with my program is connected to my server:
Code:
SendClientMessage(playerid, -1, "Welcome to my server!");
GivePlayerMoney(playerid, 500);
If without the server connecter:
Code:
SendClientMessage(playerid, -1, "Welcome to my server!");
I hope I was clear, the translation by translate.******.com!
Re: Samp external program access, with discrimination? -
Macluawn - 31.07.2013
You could use
HTTP(wiki) functions.
Re: Samp external program access, with discrimination? -
Olvaso42 - 31.07.2013
Quote:
Originally Posted by Macluawn
|
And in the program, how to use this? Create a website and upload informations? See me an example please, if where-what use

D
In sa:mp script i use this:
https://sampwiki.blast.hk/wiki/HTTP
But i dont know what is? Any help?