SA-MP Forums Archive
HOW? *REP+* - 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: HOW? *REP+* (/showthread.php?tid=603443)



HOW? *REP+* - _GHT_MarK445 - 23.03.2016

Hey guys, i need help, this time different type.

I have on my hosting something like VIP system, it is pretty much working, i can define my own messages there, players can send sms, but the problem is, when it comes to giving the VIP to the players.

I want it to automaticly give VIP to player, there are few options.

"PHP script from website"

and

"Send command to the server"

There are some stuff like %NICK and %CREDITS, which you can use in the sms, so i think it would be easy if player wrote his nick, and than i just setted variable to 1, but.

How can i for example send some command on server? I asked support of that hosting and they told me i need some php script or something like that, i wonder if one of you guys have something like that or could make, it should not be anything hard, i would really apreciate it, i would apreciate any help regarding to this problem and i would give you reputation point, that is what i can give.


Re: HOW? *REP+* - Abagail - 23.03.2016

The socket plugin is likely the best approach for doing something like this.
https://sampforum.blast.hk/showthread.php?tid=333934

You can also utilize MySQL.


Re: HOW? *REP+* - Melktert - 23.03.2016

Works better with MySQL where it edits the rows in a player's file. The socket plugin would work best.