SetPlayerIsDrunk

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

Sets the drunkenness status for the specified player.

Syntax

API.setPlayerIsDrunk(LocalHandle player, bool isDrunk);

Required Arguments

  • player: parameter input should be in LocalHandle type.
  • isDrunk: parameter input should be in bool type.


Usage example(s)

API.setPlayerIsDrunk(LocalHandle player, bool isDrunk);


References