The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SCRIPT] Musik won't play [Solved]
ethics Offline
Member

Posts: 51
Threads: 18
Joined: Jan 2014
Reputation: 0
#1
[SCRIPT] Musik won't play [Solved]

After picking up a note and reading it, I wanted that music starts playing.
My script for this:

void OnStart()
{
SetEntityPlayerInteractCallback("notiz", "playdatshiat", true);
}

void playdatshiat(string &in item)
{
PlayMusic("", "attic_ambience.snt", "Player", 0, false);
}


I tried everything.
Please help!

(This post was last modified: 05-10-2014, 10:30 AM by ethics.)
02-23-2014, 11:26 AM
Find


Messages In This Thread
[SCRIPT] Musik won't play [Solved] - by ethics - 02-23-2014, 11:26 AM
RE: [SCRIPT] Musik won't play - by ethics - 02-26-2014, 05:58 PM
RE: [SCRIPT] Musik won't play - by DnALANGE - 02-23-2014, 04:40 PM
RE: [SCRIPT] Musik won't play - by davide32 - 02-23-2014, 10:21 PM
RE: [SCRIPT] Musik won't play - by DnALANGE - 02-23-2014, 11:08 PM
RE: [SCRIPT] Musik won't play - by davide32 - 02-24-2014, 01:57 PM
RE: [SCRIPT] Musik won't play - by Mudbill - 02-26-2014, 06:33 PM
RE: [SCRIPT] Musik won't play - by RedKnight - 02-27-2014, 07:00 AM
RE: [SCRIPT] Musik won't play - by Romulator - 02-27-2014, 07:25 AM



Users browsing this thread: 6 Guest(s)