CancelLatentEvent

From Multi Theft Auto: Wiki
Revision as of 13:50, 4 November 2012 by Lexr128 (talk | contribs)
Jump to navigation Jump to search

Stops a latent event from completing

Syntax

Click to collapse [-]
Server
bool cancelLatentEvent( player thePlayer, int handle )

Required Arguments

  • thePlayer: The player who is receiving the event.
  • handle: A handle previous got from getLatentEventHandles.
Click to collapse [-]
Client
bool cancelLatentEvent( int handle )

Required Arguments

Returns

Returns a true if the latent event was successfully cancelled, or false if it was not

Example

--TODO

Requirements

This template will be deleted.

See Also