The chaser
Posting Freak
Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation:
113
|
RE: Unexpected end of file error problem :(
I see your error, change this:
void UnlockDoor(string &in asEntity, int LeverState)
{
if(GetLeverState("Lever1") == -1
&& GetLeverState("Lever2") == -1)
GetLeverState("Lever3") == 1)
GetLeverState("Lever4") == -1)
{
SetSwingDoorLocked("Door", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "Door", 0, false);
}
}
For this:
void UnlockDoor(string &in asEntity, int LeverState)
{
if(GetLeverState("Lever1") == -1)
&& GetLeverState("Lever2") == -1)
GetLeverState("Lever3") == 1)
GetLeverState("Lever4") == -1)
{
SetSwingDoorLocked("Door", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "Door", 0, false);
}
}
THE OTHERWORLD (WIP)
Aculy iz dolan.
|
|
01-26-2014, 06:14 PM |
|