gta.cancelMission

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

Available since Client 1.0.0

void gta.cancelMission(bool failed)

The gta.cancelMission function is used to end the current mission, using the specified arg as whether or not it ends with mission failed.

Parameters

1) bool failed Whether the mission is ended with a failed status.

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

      gta.cancelMission
      gta.onMission
      gta.startMission