Squirrel/Server/Functions/Messages/SendPlayerMessage
From Liberty Unleashed Wiki
(Difference between revisions)
(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
Sends a message faking another players message
Syntax
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
-- Todo
Notes
-- List of used functions and other notes here.
Related Functions
- BigMessage
- ClearMessages
- Message
- MessageAllExcept
- MessagePlayer
- PagerMessage
- SendPlayerMessage
- SmallMessage