Iha paska
Cheater!1
/////////////////////////////////////// // Guardian is near // - Check if elevator machine is running if( GetGlobalVarInt("ElevatorMachineRunning")!=0 && GetLocalVarInt("EventGuardianNear")==0) { SetLocalVarInt("EventGuardianNear", 1); SetSwingDoorLocked("castle_1", true, false); SetLevelDoorLocked("level_wood_4", true); AddTimer("GuardianNear", 2.1f, "TimerGuardianNearEffect"); SetLeverStuckState("elevator_lever_1", 0, false); }
void InteractElevatorLever(string &in asEntity) { if(GetGlobalVarInt("ElevatorMachineRunning")==0) { SetMessage("Ch01Level09", "ElevatorNotWorking", -1); AddQuest("09StartElevator", "09StartElevator"); } }
void PullElevatorLever(string &in asEntity, int alState) { if(alState != -1) return; SetLeverStuckState(asEntity, -1, true); SetSwingDoorLocked("elevator_door_1", true, true); PlaySoundAtEntity("activate","14_elevator_activate","Player", 0, false); AddTimer("StartElevator", 2.0f, "TimerStartElevator"); }
void TimerStartElevator(string &in asTimer) { PlaySoundAtEntity("run","elevator_move_normal.snt","Player", 2, false); StartScreenShake(0.01f, 3, 1,0); ChangeMap("14_elevator.map", "PlayerStartArea_1", "",""); }