SA-MP Forums Archive
Sending a message from VB. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: Sending a message from VB. (/showthread.php?tid=526529)



Sending a message from VB. - Ahmad45123 - 18.07.2014

Hello.

I am working on an app on VB(Visual Basic) but I need to know how to send a message to the player from VB.

I mean like "SendClientMessage" but from VB.


Re: Sending a message from VB. - JonnyDeadly - 18.07.2014

You could use a message box - it basically mirrors the message style dialogue box used by the SA-MP client. MsgBox("Your message")


Re: Sending a message from VB. - Ahmad45123 - 18.07.2014

Quote:
Originally Posted by JonnyDeadly
Посмотреть сообщение
You could use a message box - it basically mirrors the message style dialogue box used by the SA-MP client. MsgBox("Your message")
You don't understand, I mean to send a message to the player who is playing SAMP.

Like if the app is running and samp is running, I want to make it so when I press N, A message would be sent to me IG.


Re: Sending a message from VB. - Kirollos - 18.07.2014

You can use Sockets to make a communication between the SA-MP server and your VB app.