Subscribes to server event with specified listener, which only triggers once.

Example Usage

alt.once('playerDamage', (victim, attacker, damage, weaponHash) => {
    alt.log(`${victim.name} was damaged`);
}

results matching ""

    No results matching ""