IsPlayerWearingHelmet

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

Returns whether the player is currently wearing a helmet or not.

Syntax

bool API.isPlayerWearingHelmet(LocalHandle player);

Required Arguments

  • player: parameter input should be in LocalHandle type.


NOTE: This function returns data in bool type.

Usage example(s)

API.isPlayerWearingHelmet(LocalHandle player);


References