Skip to content
This repository was archived by the owner on Jan 12, 2023. It is now read-only.

PMF_fn_ObjectPlaySound

MasterPuffin edited this page Sep 23, 2017 · 3 revisions

Description

Let's a custom object play sound hearable for all players.

Dependencies

Sounds must be configured in the missions description.ext

Parameters

sound: In "", as configured in the description.ext

object: Object where the sound should be played from. Can either be a variable or a syntax like player

Usage

Example

["SirenPMC",_vehicle] remoteExecCall ["PMF_fn_ObjectPlaySound"]

["Explosion",cursortarget] remoteExecCall ["PMF_fn_ObjectPlaySound"]

Clone this wiki locally