SA-MP Forums Archive
can i sent message from web to player ingame - 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: can i sent message from web to player ingame (/showthread.php?tid=533313)



can i sent message from web to player ingame - basicllsw - 23.08.2014

Can i sent some message from website to player in game

ex

if player Login in web ucp with username Jimmy_Sullivan , php can sent message "Your Are Login In UCP" to Jimmy_Sullivan(me) ingame


Re: can i sent message from web to player ingame - SchurmanCQC - 23.08.2014

Put the HTTP function on a timer for like every 5 seconds and have it grab an API url like "getmessages.php?username=Schurman"

Have that URL return the messages the player should see in game.


Re: can i sent message from web to player ingame - basicllsw - 23.08.2014

can u show me example

i want to create this: when player topup/paycredit on my website success,I want to Send "[TOPUP] You Refill $n Point And You Can buy item(/buycash)" to this topup player only not for all player

ps.sry for my bad english


Re: can i sent message from web to player ingame - basicllsw - 24.08.2014

someone have guide?