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
NEW PROBLEM PLEASE HELP>>>
ryan1431 Offline
Junior Member

Posts: 14
Threads: 10
Joined: Dec 2012
Reputation: 0
#1
NEW PROBLEM PLEASE HELP>>>

This is ALL OF THE STUFF IN MY .HPS FILE...

void OnStart()
{
AddUseItemCallback("", "studykey_1", "mansion_2", "OPEN_study", true);AddUseItemCallback("", "dungeonkey_2", "mansion_3", "OPEN_dungeon", true);
}
void OPEN_study(string &in asItem, string &in asEntity)

{
SetSwingDoorLocked("mansion_2", false, true);
PlaySoundAtEntity("", "unlock_door", "mansion_2", 0, false);
RemoveItem("studykey_1");
}

void StudyDoorLocked(string &in entity)


{
if(GetSwingDoorLocked("mansion_2") == true)
{

SetMessage("Messages", "studyroomlocked", 0);

}
}

void OPEN_dungeon(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("mansion_3", false, true);
PlaySoundAtEntity("", "unlock_door", "mansion_3", 0, false);
RemoveItem("dungeonkey_2");
}

void DungeonDoorLocked(string &in entity)
{
if(GetSwingDoorLocked("mansion_3") == true)
{

SetMessage("Messages", "dungeondoorlocked", 0);

}
}

void papermusic_01(string &in asEntity)
{
PlayGameMusic(01_paper_self, 1, 0, 0, 0);
SetTimer("paper_01_music", 25, "paper_01_music");
}

void paper_01_music(string &in asTimer)
{
StopGameMusic(1, 0);
}


THE BOLDED FONT IS WHERE THE PROBLEMS ARE AT. THIS IS WHAT IT SAYS WHEN I TRY TO QUICKMAPRELOAD

main (42,1) : INFO : Compiling void papermusic_01(string&in)
main (44,18) : ERR : Expected ')' or ','
main (48,1) : INFO : Compiling void paper_01_music(string&in)
main (50,2) : ERR : No matching signatures to 'StopGameMusic(const uint, const uint)'

What is a compiling void anyway?? :$ please help me out...
12-04-2012, 03:10 AM
Find


Messages In This Thread
NEW PROBLEM PLEASE HELP>>> - by ryan1431 - 12-04-2012, 03:10 AM



Users browsing this thread: 1 Guest(s)