Squirrel/Server/Functions/Messages/SendPlayerMessage

From Liberty Unleashed Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with '{{Squirrel/Title|SendPlayerMessage}} Sends a message faking another players message == Syntax == <code>bool SendPlayerMessage( player playerToFake, player playerToSendTo, strin…')
 
Line 10: Line 10:
 
* '''playerToFake''' - The pointer of the player to fake
 
* '''playerToFake''' - The pointer of the player to fake
 
* '''playerToSendTo''' - The pointer of the player to send the fake message to
 
* '''playerToSendTo''' - The pointer of the player to send the fake message to
* '''message' - The message to send
+
* '''message''' - The message to send
  
 
== Example ==
 
== Example ==

Revision as of 11:38, 15 October 2010

Home   |   Squirrel Scripting   |   Server Functions   |   Server Events   |   Client Functions   |   Client Events

Sends a message faking another players message

Syntax

  1. bool SendPlayerMessage( player playerToFake, player playerToSendTo, string message )

Arguments

  • playerToFake - The pointer of the player to fake
  • playerToSendTo - The pointer of the player to send the fake message to
  • message - The message to send

Example

This function needs an example. You can help us complete the wiki by writing one, or maybe even more :o

Explanation for the example

  1.  
  2. -- Todo
  3.  

Notes

-- List of used functions and other notes here.

Related Functions

Personal tools
Namespaces

Variants
Actions
Navigation
scripting
Toolbox