ShowPlaneMessage

From GT-MP
Jump to: navigation, search
ShowPlaneMessage
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Shows a shard with specified plane model's image.

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.

Syntax

In Javascript
Client-Side Function

API.showPlaneMessage(string title, string planeName, int planeHash, int time = 5000);

Required Arguments

  • title parameter input should be in string type.
  • planeName parameter input should be in string type.
  • planeHash parameter input should be in int type. See Vehicle Models.
    • Available hashes are very limited.

Optional Arguments

  • time parameter input should be in int type.

Available Models

Models that aren't in this image won't be displayed. More models might be added in future versions of GTA V.

PlaneMessageSupported.png

Usage example

In Javascript
Client-Side Function

API.showPlaneMessage("PlaneMessage Test", "This is a hydra", 970385471);

PlaneMessageExample.png

References