# sm.event.sendToPlayer

Sends an event to a specified [Player](../Game-Script-Environment/Userdata/Player.md).

**Kind:** Function

**Environments:** Game

## Game

``` { .lua .api-signature }
sm.event.sendToPlayer( player, callback, args?, eventType?, pauseSave? )
```

[Open the full Game reference](../Game-Script-Environment/Static-Functions/sm.event.md#sendtoplayer)

**Parameters:**

| Name | Type | Description |
| --- | --- | --- |
| `player` | [Player](../Game-Script-Environment/Userdata/Player.md) | The player. |
| `callback` | string | The function name in a player script. |
| `args` *(optional)* | any | Optional arguments to be sent to the callback. |
| `eventType` *(optional)* | integer | The type of event. Defaults to [sm.event.types.validate](../Game-Script-Environment/Static-Functions/sm.event.md#types). |
| `pauseSave` *(optional)* | boolean | Optional, defaults to true. If true, pauses saving for 1 tick for delayed event types (server only). |

**Returns:**

| Name | Type | Description |
| --- | --- | --- |
| `result` | boolean | Returns true if the event was successfully processed. |
