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...
|