Skip to main content

ENABLE_PED_HELMET

Game.EnablePedHelmetHash0x0C704586
Usage
Game.EnablePedHelmet(ped, enable)

Allows (true) or forbids (false) the char to get a helmet, on a motorbike as well as through GIVE_PED_HELMET.

Parameters

  • pedintegerPed
  • enablebooleanboolean

Returns

Nothing

Original declaration
// 0x0C704586
void ENABLE_PED_HELMET(Ped ped, boolean enable);