triggerPeerNetworkEvent

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

void triggerPeerNetworkEvent(string networkEventName, Client client, [ ... ])

The triggerPeerNetworkEvent function is used to trigger a custom peer to peer network event.

Parameters

1) string networkEventName The name of the network event, case-insensitive.
2) Client client The client to trigger the network event for.
3) vararg ... Optional, defaults to n/a. Arguments to send to the scripting functions that are bound to the network event.

Return

void This function doesn't return a value.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

There isn't any compatibility information for this function.

Related

Client Related

        addEvent
        addEventHandler
        bindEventHandler
        removeEventHandler
        triggerEvent
        triggerNetworkEvent
        unbindEventHandler