Scripting/Squirrel/Functions/Socket.SendClient: Difference between revisions

From Vice City Multiplayer
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "This function will send the specified string to the specified client. == Syntax == <pre>Socket.SendClient( data, clientId )</pre> == Arguments == * ''string'' '''data''' -...")
 
No edit summary
 
Line 16: Line 16:


{{Scripting/Squirrel/Functions/Sockets}}
{{Scripting/Squirrel/Functions/Sockets}}
[[Category:Scripting/Squirrel/Functions/Sockets]]

Latest revision as of 21:56, 30 January 2017

This function will send the specified string to the specified client.

Syntax

Socket.SendClient( data, clientId )

Arguments

  • string data - The data to send.
  • int clientId - The connected client ID to send it to.

Example

Please refer to the Socket Example for a advanced usage of all socket functions.

Related Functions