Run Function from website? - 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: Run Function from website? (
/showthread.php?tid=565835)
Run Function from website? -
WeirdestYeti - 01.03.2015
I searched and didn`t find a real answer, so i wanted to ask.
Is it possible to run GameMode function from website. I know there are possibilities to run commands from rconquery. But is there to run my own function which is in gamemode?
For example:
( I have stock function )
Код:
stock MyFunction(name[], value)
{
// And function code here
}
And my website runs function giving the values
Код HTML:
MyFunction(Trevor_Lowery, 2);
Is this possible? If yes, then how? If no, then why?